Skip to content

Commit

Permalink
Colorize error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Weigel committed Jan 28, 2019
1 parent 0a6e6f4 commit 12efada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function commands(commandarr,catalog) {
var out = require('child_process')
.execSync(command,{'stdio':['pipe','pipe','pipe']});
} catch (ex) {
console.log(ds() + "Could not execute command: " + command + ". Error: " + clc.red(ex.stderr.toString()));
console.log(ds() + clc.red("Could not execute command: " + command + ". Error: " + clc.red(ex.stderr.toString())));
process.exit(1);
}
commandarr[i].testnumber = i;
Expand Down

0 comments on commit 12efada

Please sign in to comment.