diff options
author | Masashi Hirano <cherrydog07@gmail.com> | 2018-10-09 02:10:07 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2018-12-05 22:47:05 +0300 |
commit | 63b06551f4c51d8868f36b184a6539ebc51cf0b4 (patch) | |
tree | c1e172c5fbcf2e0f457653269e59a6821d160915 /lib/internal/inspector_async_hook.js | |
parent | 89740a4f0e15478403551ca86ac362d135319bd6 (diff) |
src,lib: make process.binding('config') internal
PR-URL: https://github.com/nodejs/node/pull/23400
Refs: https://github.com/nodejs/node/issues/22160
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'lib/internal/inspector_async_hook.js')
-rw-r--r-- | lib/internal/inspector_async_hook.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/internal/inspector_async_hook.js b/lib/internal/inspector_async_hook.js index 6a7489af974..1ad0cbf3a53 100644 --- a/lib/internal/inspector_async_hook.js +++ b/lib/internal/inspector_async_hook.js @@ -12,7 +12,7 @@ let config; function lazyHookCreation() { const { createHook } = require('async_hooks'); - config = process.binding('config'); + config = internalBinding('config'); hook = createHook({ init(asyncId, type, triggerAsyncId, resource) { |