Skip to content

Commit

Permalink
update the comment
Browse files Browse the repository at this point in the history
  • Loading branch information
shinnn committed May 5, 2019
1 parent 85b9beb commit 7b5e4db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/c8.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ async function run () {
].indexOf(argv._[0]) !== -1) {
argv = buildYargs(true).parse(process.argv.slice(2))
} else {
// allow c8 to run on Node 8 (coverage just won't work).
// fs.promises was not added until Node.js v10.0.0, if it doesn't
// exist, assume we're Node.js v8.x and skip coverage.
if (!promises) {
foreground(hideInstrumenterArgs(argv))
return
Expand Down

0 comments on commit 7b5e4db

Please sign in to comment.