Skip to content

Commit

Permalink
remove extra
Browse files Browse the repository at this point in the history
  • Loading branch information
kr45732 committed Jun 27, 2024
1 parent d45af77 commit 2f0227b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/com/skyblockplus/utils/utils/Utils.java
Original file line number Diff line number Diff line change
Expand Up @@ -884,8 +884,7 @@ public static void updateDataRepo() {
skyblockPlusDataRepo.push().setCredentialsProvider(new UsernamePasswordCredentialsProvider(GITHUB_TOKEN, "")).call();
} catch (Exception ignored) {}

FileUtils.deleteDirectory(neuDir);
FileUtils.deleteDirectory(skyblockPlusDir);
// Closing should also delete the directory
neuRepo.close();
skyblockPlusDataRepo.close();

Expand Down

0 comments on commit 2f0227b

Please sign in to comment.