Skip to content

Commit 2dd907e

Browse files
committed
lib: add comment to script eval _tickCallback
Add a comment to match lib/module.js, missed in nodejs#11958. Refs: nodejs#11958
1 parent d13bd4a commit 2dd907e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/internal/bootstrap_node.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,7 @@
401401
`${JSON.stringify(name)}, displayErrors: true });\n`;
402402
const result = module._compile(script, `${name}-wrapper`);
403403
if (process._print_eval) console.log(result);
404+
// Handle any nextTicks added in the first tick of the program.
404405
process._tickCallback();
405406
}
406407

0 commit comments

Comments
 (0)