From 5bdd54925acecfa3af4fb65bce037cc95193ee17 Mon Sep 17 00:00:00 2001 From: Gibson Fahnestock Date: Sun, 26 Mar 2017 16:01:31 +0100 Subject: [PATCH] lib: add comment to script eval _tickCallback Add a comment to match lib/module.js, missed in #11958. PR-URL: https://github.com/nodejs/node/pull/12050 Ref: https://github.com/nodejs/node/pull/11958 Reviewed-By: Colin Ihrig Reviewed-By: Yuta Hiroto Reviewed-By: Ben Noordhuis Reviewed-By: James M Snell Reviewed-By: Jeremiah Senkpiel Reviewed-By: Richard Lau --- lib/internal/bootstrap_node.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/internal/bootstrap_node.js b/lib/internal/bootstrap_node.js index 0827326fad7782..1aa2f8c23b442a 100644 --- a/lib/internal/bootstrap_node.js +++ b/lib/internal/bootstrap_node.js @@ -386,6 +386,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(); }