diff options
author | Casper Beyer <caspervonb@pm.me> | 2020-09-28 18:22:29 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-28 12:22:29 +0200 |
commit | 6587d1bce80fe6beef7353efcf00a674438e6e4e (patch) | |
tree | 81fb39591a8593b06cd91c18d31f6409ffcb5868 /cli/worker.rs | |
parent | 45d4fd44c9444241a898d3075b99e8871fccdd65 (diff) |
fix(cli/test): do not start inspector server when collecting coverage (#7718)
Diffstat (limited to 'cli/worker.rs')
-rw-r--r-- | cli/worker.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/worker.rs b/cli/worker.rs index f6c518d0c..242a2f4b3 100644 --- a/cli/worker.rs +++ b/cli/worker.rs @@ -134,6 +134,8 @@ impl Worker { &mut isolate, Some(inspector_server.clone()), )) + } else if global_state.flags.coverage { + Some(DenoInspector::new(&mut isolate, None)) } else { None }; |