GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — lib: fix typo in `pre_execution.js` · nodejs/node@385d795

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • lib/internal/process
    • pre_execution.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎lib/internal/process/pre_execution.js‎

Copy file name to clipboardExpand all lines: lib/internal/process/pre_execution.js
+6-6Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,24 +33,24 @@ const {
3333
isBuildingSnapshot,
3434
} = require('v8').startupSnapshot;
3535

36-
function prepareMainThreadExecution(expandArgv1 = false, initialzeModules = true) {
36+
function prepareMainThreadExecution(expandArgv1 = false, initializeModules = true) {
3737
prepareExecution({
3838
expandArgv1,
39-
initialzeModules,
39+
initializeModules,
4040
isMainThread: true
4141
});
4242
}
4343

4444
function prepareWorkerThreadExecution() {
4545
prepareExecution({
4646
expandArgv1: false,
47-
initialzeModules: false, // Will need to initialize it after policy setup
47+
initializeModules: false, // Will need to initialize it after policy setup
4848
isMainThread: false
4949
});
5050
}
5151

5252
function prepareExecution(options) {
53-
const { expandArgv1, initialzeModules, isMainThread } = options;
53+
const { expandArgv1, initializeModules, isMainThread } = options;
5454

5555
refreshRuntimeOptions();
5656
reconnectZeroFillToggle();
@@ -110,10 +110,10 @@ function prepareExecution(options) {
110110
} else {
111111
assert(!internalBinding('worker').isMainThread);
112112
// The setup should be called in LOAD_SCRIPT message handler.
113-
assert(!initialzeModules);
113+
assert(!initializeModules);
114114
}
115115

116-
if (initialzeModules) {
116+
if (initializeModules) {
117117
setupUserModules();
118118
}
119119
}

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.