diff options
| author | cainus <[email protected]> | 2013-06-22 14:02:20 -0700 |
|---|---|---|
| committer | cainus <[email protected]> | 2013-06-22 14:02:20 -0700 |
| commit | 82cf2e8e13f84d6efb34c70db5a9673ec4dd100e (patch) | |
| tree | 456eee0a4863f4500abe67e1432cb0ab813f2f42 /lib | |
| parent | 85303657382785b0bcc95f98e8e448c6bed465f4 (diff) | |
| download | node-coveralls-82cf2e8e13f84d6efb34c70db5a9673ec4dd100e.tar.xz node-coveralls-82cf2e8e13f84d6efb34c70db5a9673ec4dd100e.zip | |
fixed service_job_id relay, and added run_at back.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/convertLcovToCoveralls.js | 2 | ||||
| -rw-r--r-- | 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; } |
