@@ -45,7 +45,7 @@ globalThis.read = (filename) => {
4545} ;
4646
4747function load ( f ) {
48- vm . runInThisContext ( read ( f ) , { filename : find ( f ) } ) ;
48+ vm . runInThisContext ( read ( f ) , { filename : find ( f ) } ) ;
4949}
5050
5151// Basic utilities
@@ -73,7 +73,7 @@ globalThis.symbolsOnly = symbolsOnlyArg != -1;
7373// In case compiler.js is run directly (as in gen_sig_info)
7474// ALL_INCOMING_MODULE_JS_API might not be populated yet.
7575if ( ! 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 ;
7777}
7878
7979EXPORTED_FUNCTIONS = new Set ( EXPORTED_FUNCTIONS ) ;
@@ -87,7 +87,10 @@ if (symbolsOnly) {
8787}
8888
8989// 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+ ) ;
9194
9295// Load compiler code
9396
@@ -116,7 +119,10 @@ try {
116119 // Compiler failed on internal compiler error!
117120 printErr ( 'Internal compiler error in src/compiler.js!' ) ;
118121 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+ ) ;
120126 }
121127
122128 // Work around a node.js bug where stdout buffer is not flushed at process exit:
0 commit comments