Skip to content

Commit 5bdd549

Browse files
gibfahnMylesBorins
authored andcommitted
lib: add comment to script eval _tickCallback
Add a comment to match lib/module.js, missed in #11958. PR-URL: #12050 Ref: #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 fd93622 commit 5bdd549

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/internal/bootstrap_node.js

+1
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,7 @@
386386
`${JSON.stringify(name)}, displayErrors: true });\n`;
387387
const result = module._compile(script, `${name}-wrapper`);
388388
if (process._print_eval) console.log(result);
389+
// Handle any nextTicks added in the first tick of the program.
389390
process._tickCallback();
390391
}
391392

0 commit comments

Comments
 (0)