From 91dcf305d787b95417fb9dbe2cea9b4ef709e4b5 Mon Sep 17 00:00:00 2001 From: Chris Hennick <4961925+Pr0methean@users.noreply.github.com> Date: Wed, 15 May 2024 16:11:37 -0700 Subject: [PATCH] chore: More bug fixes for Windows-specific symlink code --- src/read.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/read.rs b/src/read.rs index 797ce1a3..8defc4ba 100644 --- a/src/read.rs +++ b/src/read.rs @@ -710,7 +710,8 @@ impl ZipArchive { self .shared .files - .get_index(file_number) + .get_index(target_in_archive) + .unwrap() .is_dir() } else { false