File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff 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
4444function 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
5252function 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}
You can’t perform that action at this time.
0 commit comments