Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
docs: correct repl eval callback signature
Browse files Browse the repository at this point in the history
  • Loading branch information
ming-codes authored and bnoordhuis committed Mar 6, 2012
1 parent 07c886f commit b602390
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/repl.markdown
Expand Up @@ -42,7 +42,7 @@ of command if it's `undefined`. Defaults to `false`.

You can use your own `eval` function if it has following signature:

function eval(cmd, callback) {
function eval(cmd, context, filename, callback) {
callback(null, result);
}

Expand Down

0 comments on commit b602390

Please sign in to comment.