mirror of
https://github.com/denoland/deno.git
synced 2024-11-25 15:29:32 -05:00
fix(cli): canonicalize coverage dir (#10364)
This commit is contained in:
parent
8a9b83b3ea
commit
42f76670fc
1 changed files with 4 additions and 1 deletions
|
@ -925,7 +925,10 @@ async fn test_command(
|
|||
concurrent_jobs: usize,
|
||||
) -> Result<(), AnyError> {
|
||||
if let Some(ref coverage_dir) = flags.coverage_dir {
|
||||
env::set_var("DENO_UNSTABLE_COVERAGE_DIR", coverage_dir);
|
||||
env::set_var(
|
||||
"DENO_UNSTABLE_COVERAGE_DIR",
|
||||
PathBuf::from(coverage_dir).canonicalize()?,
|
||||
);
|
||||
}
|
||||
|
||||
// TODO(caspervonb) move this chunk into tools::test_runner.
|
||||
|
|
Loading…
Reference in a new issue