diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2011-07-26 01:54:44 +0400 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2011-07-26 01:59:10 +0400 |
commit | df3a8fcb62e44fa1b1c592f04a872648d26ec08c (patch) | |
tree | efb5b8ffec07ace0db6febdc38ca69b123294b5b /src | |
parent | 216829e7520a56ef0bede9fc8387c2de9683e4c0 (diff) |
cli: don't print result of --eval
Fixes #572.
Diffstat (limited to 'src')
-rw-r--r-- | src/node.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/node.js b/src/node.js index cecc240e426..02fccaca3dc 100644 --- a/src/node.js +++ b/src/node.js @@ -80,8 +80,7 @@ var module = new Module('eval'); module.filename = path.join(cwd, 'eval'); module.paths = Module._nodeModulePaths(cwd); - var rv = module._compile('return eval(process._eval)', 'eval'); - console.log(rv); + module._compile('eval(process._eval)', 'eval'); } else if (process.argv[1]) { // make process.argv[1] into a full path |