Skip to content

Commit

Permalink
fix(CI): Fixed linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
SaptarshiSarkar12 committed Sep 5, 2024
1 parent 818da97 commit f6dbbca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GUI/src/main/java/gui/updater/GUIUpdateExecutor.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ public boolean execute() {
} catch (IOException e) {
try {
Files.copy(latestExecutableFile.toPath(), Paths.get(currentExecutablePathString), StandardCopyOption.REPLACE_EXISTING);
} catch (Exception e2) {
M.msgUpdateError("Failed to replace the current version of Drifty!\n" + e2.getMessage());
} catch (Exception ex) {
M.msgUpdateError("Failed to replace the current version of Drifty!\n" + ex.getMessage());
return false;
}
}
Expand Down

0 comments on commit f6dbbca

Please sign in to comment.