mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
joyent/node#1914: REPL no longer hides undefined
results
This commit is contained in:
parent
11f048c368
commit
1c86aee7a4
2 changed files with 3 additions and 7 deletions
|
@ -52,11 +52,8 @@
|
|||
filename: 'repl',
|
||||
modulename: 'repl'
|
||||
});
|
||||
if (returnValue === void 0) {
|
||||
global._ = _;
|
||||
} else {
|
||||
process.stdout.write(inspect(returnValue, false, 2, enableColours) + '\n');
|
||||
}
|
||||
if (returnValue === void 0) global._ = _;
|
||||
process.stdout.write(inspect(returnValue, false, 2, enableColours) + '\n');
|
||||
} catch (err) {
|
||||
error(err);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue