Skip to content

Commit d1df797

Browse files
Merge pull request #2120 from Microsoft/mochaColors
Add support for printing colors to the command line when running mocha!
2 parents 34bd298 + 6de19a1 commit d1df797

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ task("runtests", ["tests", builtLocalDirectory], function() {
574574
}
575575

576576
colors = process.env.colors || process.env.color
577-
colors = colors ? ' --no-colors ' : ''
577+
colors = colors ? ' --no-colors ' : ' --colors ';
578578
tests = tests ? ' -g ' + tests : '';
579579
reporter = process.env.reporter || process.env.r || 'dot';
580580
// timeout normally isn't necessary but Travis-CI has been timing out on compiler baselines occasionally

0 commit comments

Comments
 (0)