aboutsummaryrefslogtreecommitdiff
path: root/lib/internal/process/per_thread.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/internal/process/per_thread.js')
-rw-r--r--lib/internal/process/per_thread.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/internal/process/per_thread.js b/lib/internal/process/per_thread.js
index 85772aafd8..a0d6b32596 100644
--- a/lib/internal/process/per_thread.js
+++ b/lib/internal/process/per_thread.js
@@ -158,7 +158,7 @@ function wrapProcessMethods(binding) {
function kill(pid, sig) {
var err;
if (process.env.NODE_V8_COVERAGE) {
- const { writeCoverage } = require('internal/coverage-gen/with_profiler');
+ const { writeCoverage } = require('internal/profiler');
writeCoverage();
}