Skip to content

Commit 2320efa

Browse files
authored
🔀 Merge pull request #5 from mddanishansari/fix/delete-template-file-safely
🔀 Fix #4
2 parents f5a47df + 6a10f69 commit 2320efa

File tree

1 file changed

+1
-0
lines changed
  • corvette/src/main/kotlin/com/github/theapache64/corvetee

1 file changed

+1
-0
lines changed

corvette/src/main/kotlin/com/github/theapache64/corvetee/Corvette.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ class Corvette(
7373
}
7474
val os = FileOutputStream(outputFile.toFile())
7575
URL(templateUrl).openStream().copyTo(os)
76+
os.close()
7677
}
7778

7879
// Unzip

0 commit comments

Comments
 (0)