Skip to content

Commit

Permalink
fix select_jdk.py
Browse files Browse the repository at this point in the history
  • Loading branch information
zapster committed Feb 22, 2024
1 parent 76f9533 commit 11ec3ef
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/mx/_impl/select_jdk.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,6 @@ def choose_jdks(jdk_cache_path=default_jdk_cache_path, only_list=False):
if only_list:
os.unlink(tmp_cache_path)
else:
os.unlink(jdk_cache_path)
os.rename(tmp_cache_path, jdk_cache_path)
choices = {str(index):jdk for index, jdk in choices}
jdks = [choices[n] for n in input('Select JDK(s) (separate multiple choices by whitespace)> ').split() if n in choices]
Expand Down

0 comments on commit 11ec3ef

Please sign in to comment.