File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -140,9 +140,9 @@ process.domain = null;
140
140
process . _exiting = false ;
141
141
142
142
// process.config is serialized config.gypi
143
- const nativeModule = internalBinding ( 'builtins' ) ;
143
+ const binding = internalBinding ( 'builtins' ) ;
144
144
145
- const processConfig = JSONParse ( nativeModule . config , ( _key , value ) => {
145
+ const processConfig = JSONParse ( binding . config , ( _key , value ) => {
146
146
// The `reviver` argument of the JSONParse method will visit all the values of
147
147
// the parsed config, including the "root" object, so there is no need to
148
148
// explicitly freeze the config outside of this method
@@ -288,7 +288,7 @@ const features = {
288
288
// This needs to be dynamic because --no-node-snapshot disables the
289
289
// code cache even if the binary is built with embedded code cache.
290
290
get cached_builtins ( ) {
291
- return nativeModule . hasCachedBuiltins ( ) ;
291
+ return binding . hasCachedBuiltins ( ) ;
292
292
}
293
293
} ;
294
294
You can’t perform that action at this time.
0 commit comments