Skip to content

Commit

Permalink
nodejs/node-v0.x-archive#1914: REPL no longer hides undefined results
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelficarra committed Nov 5, 2011
1 parent 11f048c commit 1c86aee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
7 changes: 2 additions & 5 deletions lib/coffee-script/repl.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions src/repl.coffee
Expand Up @@ -54,8 +54,7 @@ run = (buffer) ->
}
if returnValue is undefined
global._ = _
else
process.stdout.write inspect(returnValue, no, 2, enableColours) + '\n'
process.stdout.write inspect(returnValue, no, 2, enableColours) + '\n'
catch err
error err
repl.prompt()
Expand Down

0 comments on commit 1c86aee

Please sign in to comment.