@@ -45,7 +45,7 @@ globalThis.read = (filename) => {
45
45
} ;
46
46
47
47
function load ( f ) {
48
- vm . runInThisContext ( read ( f ) , { filename : find ( f ) } ) ;
48
+ vm . runInThisContext ( read ( f ) , { filename : find ( f ) } ) ;
49
49
}
50
50
51
51
// Basic utilities
@@ -73,7 +73,7 @@ globalThis.symbolsOnly = symbolsOnlyArg != -1;
73
73
// In case compiler.js is run directly (as in gen_sig_info)
74
74
// ALL_INCOMING_MODULE_JS_API might not be populated yet.
75
75
if ( ! ALL_INCOMING_MODULE_JS_API . length ) {
76
- ALL_INCOMING_MODULE_JS_API = INCOMING_MODULE_JS_API
76
+ ALL_INCOMING_MODULE_JS_API = INCOMING_MODULE_JS_API ;
77
77
}
78
78
79
79
EXPORTED_FUNCTIONS = new Set ( EXPORTED_FUNCTIONS ) ;
@@ -87,7 +87,10 @@ if (symbolsOnly) {
87
87
}
88
88
89
89
// Side modules are pure wasm and have no JS
90
- assert ( ! SIDE_MODULE || ( ASYNCIFY && globalThis . symbolsOnly ) , 'JS compiler should only run on side modules if asyncify is used.' ) ;
90
+ assert (
91
+ ! SIDE_MODULE || ( ASYNCIFY && globalThis . symbolsOnly ) ,
92
+ 'JS compiler should only run on side modules if asyncify is used.' ,
93
+ ) ;
91
94
92
95
// Load compiler code
93
96
@@ -116,7 +119,10 @@ try {
116
119
// Compiler failed on internal compiler error!
117
120
printErr ( 'Internal compiler error in src/compiler.js!' ) ;
118
121
printErr ( 'Please create a bug report at https://github.com/emscripten-core/emscripten/issues/' ) ;
119
- printErr ( 'with a log of the build and the input files used to run. Exception message: "' + ( err . stack || err ) ) ;
122
+ printErr (
123
+ 'with a log of the build and the input files used to run. Exception message: "' +
124
+ ( err . stack || err ) ,
125
+ ) ;
120
126
}
121
127
122
128
// Work around a node.js bug where stdout buffer is not flushed at process exit:
0 commit comments