diff options
Diffstat (limited to 'src/node.cc')
-rw-r--r-- | src/node.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/node.cc b/src/node.cc index 891d4d0b3a..fcc8923ff4 100644 --- a/src/node.cc +++ b/src/node.cc @@ -235,9 +235,7 @@ MaybeLocal<Value> RunBootstrapping(Environment* env) { bool rc = credentials::SafeGetenv("NODE_V8_COVERAGE", &coverage); if (rc && !coverage.empty()) { #if HAVE_INSPECTOR - if (!coverage::StartCoverageCollection(env)) { - return MaybeLocal<Value>(); - } + profiler::StartCoverageCollection(env); #else fprintf(stderr, "NODE_V8_COVERAGE cannot be used without inspector"); #endif // HAVE_INSPECTOR |