Skip to content

Commit df29c52

Browse files
feat(zip): ZipFS support debug tests
1 parent 842f955 commit df29c52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/impls/zip.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ unsafe impl Send for SeekableZipFile {}
7676
impl FileSystem for ZipFS {
7777
fn read_dir(&self, path: &str) -> VfsResult<Box<dyn Iterator<Item = String> + Send>> {
7878
let mut resolved_path = Self::resolve_path(path);
79-
if resolved_path.is_empty() {
79+
if !resolved_path.is_empty() {
8080
resolved_path += "/";
8181
}
8282
let mut archive = self.open_archive()?;

0 commit comments

Comments
 (0)