diff options
author | Casper Beyer <caspervonb@pm.me> | 2021-01-07 18:53:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-07 05:53:57 -0500 |
commit | f8df9938c51e2047bad975faeba7b14fc5d5a276 (patch) | |
tree | 1486dd0fc8ee6eb5353f8d818d7057faf60f6583 /cli/main.rs | |
parent | b5f1d257a3fb816dbf828da3dca0389e6cee2bb0 (diff) |
fix(coverage): do not store source inline in raw reports (#9025)
When we were doing single process in-memory reports getting the source
from the runtime was practical, but now that we're writing to disk this
conflicts with the format tools taking raw v8 coverage dumps expect.
Diffstat (limited to 'cli/main.rs')
-rw-r--r-- | cli/main.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cli/main.rs b/cli/main.rs index a247389d9..8210eb5c7 100644 --- a/cli/main.rs +++ b/cli/main.rs @@ -1060,10 +1060,12 @@ async fn test_command( let main_module_url = main_module.as_url().to_owned(); exclude.push(main_module_url); tools::coverage::report_coverages( + program_state.clone(), &coverage_collector.dir, quiet, exclude, - )?; + ) + .await?; } } |