Skip to content

Commit

Permalink
fix: remove potential null pointer exception
Browse files Browse the repository at this point in the history
  • Loading branch information
j-luong committed Aug 1, 2024
1 parent 4ae0876 commit 18845d7
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ public static File ensure(URL cliDownloadURL, File cliFile, String updatePolicy,

cliFile.delete();
checksumFile.delete();
cliFile.getParentFile().mkdirs();

downloader.download(cliDownloadURL, cliFile);

Expand Down

0 comments on commit 18845d7

Please sign in to comment.