Skip to content

Commit 6aafa20

Browse files
jaredpetersensegfaultmedaddy
authored andcommitted
prefixed error messages with "error:"
1 parent 6c0c1f6 commit 6aafa20

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -580,9 +580,9 @@ Command.prototype.executeSubCommand = function(argv, args, unknown) {
580580
proc.on('close', process.exit.bind(process));
581581
proc.on('error', function(err) {
582582
if (err.code === 'ENOENT') {
583-
console.error('%s(1) does not exist, try --help', bin);
583+
console.error('error: %s(1) does not exist, try --help', bin);
584584
} else if (err.code === 'EACCES') {
585-
console.error('%s(1) not executable. try chmod or run with root', bin);
585+
console.error('error: %s(1) not executable. try chmod or run with root', bin);
586586
}
587587
process.exit(1);
588588
});

0 commit comments

Comments
 (0)