Skip to content

Commit 15efcb8

Browse files
gibfahnandrew749
authored andcommitted
lib: add comment to script eval _tickCallback
Add a comment to match lib/module.js, missed in nodejs#11958. PR-URL: nodejs/node#12050 Ref: nodejs/node#11958 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Yuta Hiroto <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: Richard Lau <[email protected]>
1 parent 3974ba4 commit 15efcb8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/internal/bootstrap_node.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,7 @@
353353
`${JSON.stringify(name)}, displayErrors: true });\n`;
354354
const result = module._compile(script, `${name}-wrapper`);
355355
if (process._print_eval) console.log(result);
356+
// Handle any nextTicks added in the first tick of the program.
356357
process._tickCallback();
357358
}
358359

0 commit comments

Comments
 (0)