too many newlines after errors in the REPL
This commit is contained in:
parent
6da70168a6
commit
a2c593bc2c
|
@ -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 = '';
|
||||||
|
|
|
@ -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 = ''
|
||||||
|
|
Loading…
Reference in New Issue