From c5f2368a29b6abb8d3c81563055530f5a93ba596 Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Thu, 10 Dec 2015 23:11:24 -0800 Subject: [PATCH] Don't throw if can't overwrite (Windows only). --- modules/wrapper/src/main/java/com/beust/kobalt/wrapper/Main.java | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/wrapper/src/main/java/com/beust/kobalt/wrapper/Main.java b/modules/wrapper/src/main/java/com/beust/kobalt/wrapper/Main.java index 1442ebdf..d8b89292 100644 --- a/modules/wrapper/src/main/java/com/beust/kobalt/wrapper/Main.java +++ b/modules/wrapper/src/main/java/com/beust/kobalt/wrapper/Main.java @@ -239,7 +239,6 @@ public class Main { Files.copy(zipFile.getInputStream(entry), entryPath, StandardCopyOption.REPLACE_EXISTING); } catch (FileSystemException ex) { log(2, "Couldn't copy to " + entryPath); - throw new IOException(ex); } } }