From 0fff04f24f87ce5a0c0d9dacd50502797cf0ff1e 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 63a3f1258a6f41..18a3afc4df5d2e 100644 --- a/lib/internal/bootstrap_node.js +++ b/lib/internal/bootstrap_node.js @@ -353,6 +353,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(); }