diff --git a/lib/internal/bootstrap/node.js b/lib/internal/bootstrap/node.js index 18d23253b1c94e..e267f76b8c5542 100644 --- a/lib/internal/bootstrap/node.js +++ b/lib/internal/bootstrap/node.js @@ -128,9 +128,9 @@ process._exiting = false; } // process.config is serialized config.gypi -const nativeModule = internalBinding('builtins'); +const binding = internalBinding('builtins'); -const processConfig = JSONParse(nativeModule.config, (_key, value) => { +const processConfig = JSONParse(binding.config, (_key, value) => { // The `reviver` argument of the JSONParse method will visit all the values of // the parsed config, including the "root" object, so there is no need to // explicitly freeze the config outside of this method @@ -276,7 +276,7 @@ const features = { // This needs to be dynamic because --no-node-snapshot disables the // code cache even if the binary is built with embedded code cache. get cached_builtins() { - return nativeModule.hasCachedBuiltins(); + return binding.hasCachedBuiltins(); } };