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 @@ -140,9 +140,9 @@ process.domain = null;
140140process . _exiting = false ;
141141
142142// process.config is serialized config.gypi
143- const nativeModule = internalBinding ( 'builtins' ) ;
143+ const binding = internalBinding ( 'builtins' ) ;
144144
145- const processConfig = JSONParse ( nativeModule . config , ( _key , value ) => {
145+ const processConfig = JSONParse ( binding . config , ( _key , value ) => {
146146 // The `reviver` argument of the JSONParse method will visit all the values of
147147 // the parsed config, including the "root" object, so there is no need to
148148 // explicitly freeze the config outside of this method
@@ -288,7 +288,7 @@ const features = {
288288 // This needs to be dynamic because --no-node-snapshot disables the
289289 // code cache even if the binary is built with embedded code cache.
290290 get cached_builtins ( ) {
291- return nativeModule . hasCachedBuiltins ( ) ;
291+ return binding . hasCachedBuiltins ( ) ;
292292 }
293293} ;
294294
You can’t perform that action at this time.
0 commit comments