[Pkg-javascript-commits] [node-coveralls] 59/332: fixed service_job_id relay, and added run_at back.

Bastien Roucariès rouca at moszumanska.debian.org
Thu Nov 9 13:53:40 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-coveralls.

commit 82cf2e8e13f84d6efb34c70db5a9673ec4dd100e
Author: cainus <gregg at caines.ca>
Date:   Sat Jun 22 14:02:20 2013 -0700

    fixed service_job_id relay, and added run_at back.
---
 lib/convertLcovToCoveralls.js | 2 +-
 lib/getOptions.js             | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/convertLcovToCoveralls.js b/lib/convertLcovToCoveralls.js
index 46fc777..a88b3ae 100644
--- a/lib/convertLcovToCoveralls.js
+++ b/lib/convertLcovToCoveralls.js
@@ -51,7 +51,7 @@ var convertLcovToCoveralls = function(input, options, cb){
       postJson.service_name = options.service_name;
     }
     if (options.service_job_id){
-      postJson.service_name = options.service_job_id;
+      postJson.service_job_id = options.service_job_id;
     }
     if (options.repo_token) {
       postJson.repo_token = options.repo_token;
diff --git a/lib/getOptions.js b/lib/getOptions.js
index 9d552ea..fa294b1 100644
--- a/lib/getOptions.js
+++ b/lib/getOptions.js
@@ -24,7 +24,7 @@ var getOptions = function(){
     options.git = process.env.COVERALLS_SERVICE_JOB_ID;
   }
 
-  //options.run_at = process.env.COVERALLS_RUN_AT || JSON.stringify(new Date()).slice(1, -1);
+  options.run_at = process.env.COVERALLS_RUN_AT || JSON.stringify(new Date()).slice(1, -1);
   if (process.env.service_name){
     options.service_name = service_name;
   }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-coveralls.git



More information about the Pkg-javascript-commits mailing list