Skip to content

Commit

Permalink
Update src/main/java/net/fabricmc/loom/util/ZipUtils.java
Browse files Browse the repository at this point in the history
Co-authored-by: Juuz <[email protected]>
  • Loading branch information
shedaniel and Juuxel committed Sep 3, 2023
1 parent 90284f0 commit 110aa18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/fabricmc/loom/util/ZipUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public static void replace(Path zip, String path, byte[] bytes) throws IOExcepti

public static void deleteIfExists(Path zip, String path) throws IOException {
try (FileSystemUtil.Delegate fs = FileSystemUtil.getJarFileSystem(zip, false)) {
Files.deleteIfExists(fs.get().getPath(path));
Files.deleteIfExists(fs.getPath(path));
}
}

Expand Down

0 comments on commit 110aa18

Please sign in to comment.