mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Don't generate kobaltw if it's already there.
This commit is contained in:
parent
c6009a6a1e
commit
fe1c8a3545
2 changed files with 6 additions and 8 deletions
Binary file not shown.
|
@ -166,13 +166,11 @@ public class Main {
|
|||
for (String file : FILES) {
|
||||
Path to = Paths.get(new File(".").getAbsolutePath(), file);
|
||||
|
||||
if (file.equals(KOBALTW)) {
|
||||
generateKobaltW(to);
|
||||
}
|
||||
|
||||
if (Files.exists(to)) {
|
||||
log(2, to + " already exists, not overwriting it");
|
||||
log(2, " $to already exists, not overwriting it");
|
||||
continue;
|
||||
} else if (file.equals(KOBALTW)) {
|
||||
generateKobaltW(to);
|
||||
} else {
|
||||
Path from = Paths.get(zipOutputDir, file);
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue