too many newlines after errors in the REPL

This commit is contained in:
Michael Ficarra 2011-09-19 02:18:42 -04:00
parent 6da70168a6
commit a2c593bc2c
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@
stdout = process.stdout; stdout = process.stdout;
error = function(err) { error = function(err) {
return stdout.write((err.stack || err.toString()) + '\n\n'); return stdout.write((err.stack || err.toString()) + '\n');
}; };
backlog = ''; backlog = '';

View File

@ -26,7 +26,7 @@ stdout = process.stdout
# Log an error. # Log an error.
error = (err) -> error = (err) ->
stdout.write (err.stack or err.toString()) + '\n\n' stdout.write (err.stack or err.toString()) + '\n'
# The current backlog of multi-line code. # The current backlog of multi-line code.
backlog = '' backlog = ''