Skip to content

Commit

Permalink
lib: add comment to script eval _tickCallback
Browse files Browse the repository at this point in the history
Add a comment to match lib/module.js, missed in nodejs#11958.

Refs: nodejs#11958
  • Loading branch information
gibfahn committed Mar 26, 2017
1 parent d13bd4a commit 2dd907e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/internal/bootstrap_node.js
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,7 @@
`${JSON.stringify(name)}, displayErrors: true });\n`;
const result = module._compile(script, `${name}-wrapper`);
if (process._print_eval) console.log(result);
// Handle any nextTicks added in the first tick of the program.
process._tickCallback();
}

Expand Down

0 comments on commit 2dd907e

Please sign in to comment.