Skip to content

Commit 6de19a1

Browse files
Add support for printing colors to the command line when running mocha!
1 parent 5141f1d commit 6de19a1

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)