diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-10-09 18:49:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-09 18:49:56 +0100 |
commit | 251840a60d1e2ba4ceca85029bd8cc342b6cd038 (patch) | |
tree | fcb0796e32b27d2770bc5e678e769170581607a0 | |
parent | 20ae8db50d7d48ad020b83ebe78dc0e9e9eab3b2 (diff) |
fix: do not panic on wsl share file paths on windows (#26081)
A test is going to fail on windows (I'm not on a windows machine atm, so
running the CI to see what fails)
Closes #26080
-rw-r--r-- | Cargo.lock | 4 | ||||
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | tests/integration/run_tests.rs | 2 |
3 files changed, 5 insertions, 3 deletions
diff --git a/Cargo.lock b/Cargo.lock index c559611cd..f8551787e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1945,9 +1945,9 @@ dependencies = [ [[package]] name = "deno_path_util" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4889646c1ce8437a6fde3acb057fd7e2d039e62c61f5063fc125ed1ede114dc6" +checksum = "ff25f6e08e7a0214bbacdd6f7195c7f1ebcd850c87a624e4ff06326b68b42d99" dependencies = [ "percent-encoding", "thiserror", diff --git a/Cargo.toml b/Cargo.toml index badc84992..1128c64e3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -52,7 +52,7 @@ deno_bench_util = { version = "0.165.0", path = "./bench_util" } deno_lockfile = "=0.23.1" deno_media_type = { version = "0.1.4", features = ["module_specifier"] } deno_npm = "=0.25.3" -deno_path_util = "=0.2.0" +deno_path_util = "=0.2.1" deno_permissions = { version = "0.31.0", path = "./runtime/permissions" } deno_runtime = { version = "0.180.0", path = "./runtime" } deno_semver = "=0.5.14" diff --git a/tests/integration/run_tests.rs b/tests/integration/run_tests.rs index db83acb19..ca24f18f4 100644 --- a/tests/integration/run_tests.rs +++ b/tests/integration/run_tests.rs @@ -5150,6 +5150,8 @@ fn emit_failed_readonly_file_system() { output.assert_matches_text("[WILDCARD]Error saving emit data ([WILDLINE]main.ts)[WILDCARD]Skipped emit cache save of [WILDLINE]other.ts[WILDCARD]hi[WILDCARD]"); } +// todo(dsherret): waiting on fix in https://github.com/servo/rust-url/issues/505 +#[ignore] #[cfg(windows)] #[test] fn handle_invalid_path_error() { |