Skip to content

Commit

Permalink
fix: --no-colors flag
Browse files Browse the repository at this point in the history
  • Loading branch information
shellscape committed Sep 26, 2019
1 parent 2d927eb commit ffe4d83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ if (!/^(file|http(s?)):\/\//.test(file)) {
url = `file://${fs.realpathSync(file)}`;
}

const useColors = !flags.colors;
const useColors = !!flags.colors;
const reporter = flags.reporter || 'spec';
const mocha = Object.assign(JSON.parse(flags.mocha || '{}'), { useColors, reporter });
const chromeFlags = JSON.parse(flags.chromeFlags || '[]');
Expand Down

0 comments on commit ffe4d83

Please sign in to comment.