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;
error = function(err) {
return stdout.write((err.stack || err.toString()) + '\n\n');
return stdout.write((err.stack || err.toString()) + '\n');
};
backlog = '';

View File

@ -26,7 +26,7 @@ stdout = process.stdout
# Log an error.
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.
backlog = ''