1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00

Using process.stderr in command.coffee (fixes #1798)

This commit is contained in:
Trevor Burnham 2011-10-27 11:23:03 -04:00
parent 91cb433b66
commit c77f7737a5
2 changed files with 3 additions and 3 deletions

View file

@ -22,7 +22,7 @@
};
printWarn = function(line) {
return process.binding('stdio').writeError(line + '\n');
return process.stderr.write(line + '\n');
};
BANNER = 'Usage: coffee [options] path/to/script.coffee\n\nIf called without options, `coffee` will run your script.';