fix: windows build error (#13081)

This commit is contained in:
Jack Amadeo
2026-10-22 16:03:04 +00:00
committed by GitHub
parent 7ba1b1625d
commit b89ab563a0
+1 -1
View File
@@ -413,7 +413,7 @@ fn extract_zip(data: &[u8], dest: &Path) -> Result<()> {
let safe_path = match entry.enclosed_name() {
Some(p) => p.to_owned(),
None => bail!("Zip entry has unsafe path: {}", entry.name()),
None => bail!("Zip entry has unsafe path: {}", entry.name()?),
};
let target = dest.join(&safe_path);