diff options
author | Masashi Hirano <cherrydog07@gmail.com> | 2018-10-09 08:10:07 +0900 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2018-12-05 11:47:05 -0800 |
commit | 63b06551f4c51d8868f36b184a6539ebc51cf0b4 (patch) | |
tree | c1e172c5fbcf2e0f457653269e59a6821d160915 /lib/trace_events.js | |
parent | 89740a4f0e15478403551ca86ac362d135319bd6 (diff) | |
download | node-new-63b06551f4c51d8868f36b184a6539ebc51cf0b4.tar.gz |
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/trace_events.js')
-rw-r--r-- | lib/trace_events.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/trace_events.js b/lib/trace_events.js index 878580c67f..d2977679e1 100644 --- a/lib/trace_events.js +++ b/lib/trace_events.js @@ -1,6 +1,6 @@ 'use strict'; -const { hasTracing } = process.binding('config'); +const { hasTracing } = internalBinding('config'); const kHandle = Symbol('handle'); const kEnabled = Symbol('enabled'); const kCategories = Symbol('categories'); |