summaryrefslogtreecommitdiff
path: root/lib/internal/profiler.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/internal/profiler.js')
-rw-r--r--lib/internal/profiler.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/internal/profiler.js b/lib/internal/profiler.js
index 1042f126dd..5e8e13038b 100644
--- a/lib/internal/profiler.js
+++ b/lib/internal/profiler.js
@@ -3,6 +3,8 @@
// Implements coverage collection exposed by the `NODE_V8_COVERAGE`
// environment variable which can also be used in the user land.
+const { JSON } = primordials;
+
let coverageDirectory;
function writeCoverage() {