Skip to content

Commit

Permalink
Merge pull request #185 from rapzo/bug-reporters-config
Browse files Browse the repository at this point in the history
Removed yargs default for reporters so the ones defined in  are taken first
  • Loading branch information
bcoe committed Mar 12, 2016
2 parents bb887b7 + 75e76ae commit 85a9a46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/nyc.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ var yargs = require('yargs')
.usage('$0 check-coverage [options]')
.example('$0 check-coverage --lines 95', "check whether the JSON in nyc's output folder meets the thresholds provided")
})
.option('r', {
alias: 'reporter',
.option('reporter', {
alias: 'r',
describe: 'coverage reporter(s) to use',
default: 'text',
global: true
Expand Down

0 comments on commit 85a9a46

Please sign in to comment.