mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
too many newlines after errors in the REPL
This commit is contained in:
parent
6da70168a6
commit
a2c593bc2c
2 changed files with 2 additions and 2 deletions
|
@ -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 = '';
|
||||
|
|
|
@ -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 = ''
|
||||
|
|
Loading…
Add table
Reference in a new issue