summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorLi Haoyi <haoyi.sg@gmail.com>2019-05-20 07:17:07 +0800
committerLi Haoyi <haoyi.sg@gmail.com>2019-05-20 07:17:07 +0800
commit673722ca35cf7ee555d22c27d40cfcee439aa022 (patch)
tree5d6260b04190a24ea861be9f846a3f5827f8b583 /main
parent1d36dcb31e7dcd22acbc9531469c0b5703057e06 (diff)
parent88b412d17096475e41e6eb778d2c16836e2b0e62 (diff)
downloadmill-673722ca35cf7ee555d22c27d40cfcee439aa022.tar.gz
mill-673722ca35cf7ee555d22c27d40cfcee439aa022.tar.bz2
mill-673722ca35cf7ee555d22c27d40cfcee439aa022.zip
Merge branch '609'
Diffstat (limited to 'main')
-rw-r--r--main/src/modules/Jvm.scala4
1 files changed, 1 insertions, 3 deletions
diff --git a/main/src/modules/Jvm.scala b/main/src/modules/Jvm.scala
index 9f176974..c1f07a9b 100644
--- a/main/src/modules/Jvm.scala
+++ b/main/src/modules/Jvm.scala
@@ -289,9 +289,7 @@ object Jvm {
writeEntry(path, concatenated, append = true)
case (mapping, WriteOnceEntry(entry)) =>
val path = zipFs.getPath(mapping).toAbsolutePath
- if (Files.notExists(path)) {
- writeEntry(path, entry.inputStream, append = false)
- }
+ writeEntry(path, entry.inputStream, append = false)
}
zipFs.close()