summaryrefslogtreecommitdiff
path: root/lib/internal/modules/cjs/loader.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/internal/modules/cjs/loader.js')
-rw-r--r--lib/internal/modules/cjs/loader.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/internal/modules/cjs/loader.js b/lib/internal/modules/cjs/loader.js
index a1e5046d40..96b5e8b7b8 100644
--- a/lib/internal/modules/cjs/loader.js
+++ b/lib/internal/modules/cjs/loader.js
@@ -819,13 +819,9 @@ Module.runMain = function() {
true /* fromPromise */
);
});
- // Handle any nextTicks added in the first tick of the program
- process._tickCallback();
return;
}
Module._load(process.argv[1], null, true);
- // Handle any nextTicks added in the first tick of the program
- process._tickCallback();
};
Module.createRequireFromPath = (filename) => {