Skip to content

Commit

Permalink
fix: pass configuration options to --check-coverage (#483)
Browse files Browse the repository at this point in the history
  • Loading branch information
wbyoung authored and bcoe committed Jan 16, 2017
1 parent 7b4c090 commit 1022b16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/nyc.js
Expand Up @@ -91,7 +91,7 @@ function report (argv) {
function checkCoverage (argv, cb) {
process.env.NYC_CWD = process.cwd()

;(new NYC()).checkCoverage({
;(new NYC(argv)).checkCoverage({
lines: argv.lines,
functions: argv.functions,
branches: argv.branches,
Expand Down

0 comments on commit 1022b16

Please sign in to comment.