File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -128,9 +128,9 @@ process._exiting = false;
128128}
129129
130130// process.config is serialized config.gypi
131- const nativeModule = internalBinding ( 'builtins' ) ;
131+ const binding = internalBinding ( 'builtins' ) ;
132132
133- const processConfig = JSONParse ( nativeModule . config , ( _key , value ) => {
133+ const processConfig = JSONParse ( binding . config , ( _key , value ) => {
134134 // The `reviver` argument of the JSONParse method will visit all the values of
135135 // the parsed config, including the "root" object, so there is no need to
136136 // explicitly freeze the config outside of this method
@@ -276,7 +276,7 @@ const features = {
276276 // This needs to be dynamic because --no-node-snapshot disables the
277277 // code cache even if the binary is built with embedded code cache.
278278 get cached_builtins ( ) {
279- return nativeModule . hasCachedBuiltins ( ) ;
279+ return binding . hasCachedBuiltins ( ) ;
280280 }
281281} ;
282282
You can’t perform that action at this time.
0 commit comments