summaryrefslogtreecommitdiff
path: root/lib/trace_events.js
diff options
context:
space:
mode:
authorMasashi Hirano <cherrydog07@gmail.com>2018-10-09 08:10:07 +0900
committerRich Trott <rtrott@gmail.com>2018-12-05 11:47:05 -0800
commit63b06551f4c51d8868f36b184a6539ebc51cf0b4 (patch)
treec1e172c5fbcf2e0f457653269e59a6821d160915 /lib/trace_events.js
parent89740a4f0e15478403551ca86ac362d135319bd6 (diff)
downloadnode-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.js2
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');