Comparing version 2.0.1 to 2.0.2
@@ -9,3 +9,3 @@ var fs = require('fs'); | ||
var version = "v1.0.1"; | ||
var version = 'v' + require('../package.json').version; | ||
@@ -12,0 +12,0 @@ var patterns = "-type f \\( -name '*coverage.*' " + |
@@ -27,3 +27,3 @@ var services = { | ||
if (!config){ | ||
throw new Error("Unknown CI servie provider. Unable to upload coverage."); | ||
throw new Error("Unknown CI service provider. Unable to upload coverage."); | ||
} | ||
@@ -30,0 +30,0 @@ } |
{ | ||
"name": "codecov", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Uploading report to Codecov: https://codecov.io", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -27,3 +27,3 @@ # Codecov NodeJS Uploader | ||
Repo tokens are neccessary to distinquish your repository from others. You can find your repo token on your repository page at Codecov. Set this unique uuid to `CODECOV_TOKEN` in your environment variables. | ||
Repo tokens are neccessary to distinguish your repository from others. You can find your repo token on your repository page at Codecov. Set this unique uuid to `CODECOV_TOKEN` in your environment variables. | ||
@@ -78,1 +78,6 @@ ``` | ||
``` | ||
## Change Log | ||
v2.0.0 No longer supports node v0.10 because of the execSync. | ||
v2.0.1 Publish as latest instead of next. | ||
v2.0.2 Display correct version number in console. |
@@ -129,3 +129,8 @@ var fs = require('fs'); | ||
it('should have the correct version number', function() { | ||
var version = require('../package.json').version | ||
expect(codecov.version).to.eql('v' + version) | ||
}) | ||
}); |
@@ -61,5 +61,5 @@ var circle = require("../../lib/services/circle"); | ||
circle.configuration(); | ||
}).to.throw(Error); | ||
}).to.throwError(); | ||
}); | ||
}); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
48805
1120
82