Comparing version 3.3.0 to 3.4.0
@@ -7,3 +7,2 @@ #!/usr/bin/env node | ||
const { outputReport } = require('../lib/commands/report') | ||
const { checkCoverages } = require('../lib/commands/check-coverage') | ||
const { promisify } = require('util') | ||
@@ -33,6 +32,5 @@ const rimraf = require('rimraf') | ||
foreground(hideInstrumenterArgs(argv), () => { | ||
const report = outputReport(argv) | ||
if (argv.checkCoverage) checkCoverages(argv, report) | ||
outputReport(argv) | ||
}) | ||
} | ||
})() |
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="3.4.0"></a> | ||
# [3.4.0](https://github.com/bcoe/c8/compare/v3.3.0...v3.4.0) (2019-01-24) | ||
### Features | ||
* support --check-coverage for reports ([#60](https://github.com/bcoe/c8/issues/60)) ([b542930](https://github.com/bcoe/c8/commit/b542930)) | ||
<a name="3.3.0"></a> | ||
@@ -7,0 +17,0 @@ # [3.3.0](https://github.com/bcoe/c8/compare/v3.2.1...v3.3.0) (2019-01-23) |
@@ -0,1 +1,2 @@ | ||
const { checkCoverages } = require('./check-coverage') | ||
const Report = require('../report') | ||
@@ -23,3 +24,3 @@ | ||
report.run() | ||
return report | ||
if (argv.checkCoverage) checkCoverages(argv, report) | ||
} |
{ | ||
"name": "c8", | ||
"version": "3.3.0", | ||
"version": "3.4.0", | ||
"description": "output coverage reports using Node.js' built in coverage", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
19531
350