Skip to content

Commit

Permalink
fixup!
Browse files Browse the repository at this point in the history
  • Loading branch information
GuyTeichman committed Jan 11, 2025
1 parent 3900476 commit d0addd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rnalysis/utils/installs.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def install(version):
JDK_ROOT = io.get_data_dir().joinpath(f'jdk{JDK_VERSION}')


def get_jdk_path():
def get_jdk_path()->Path:
try:
if platform.system() == 'Windows':
pattern = "java.exe"
Expand All @@ -49,7 +49,7 @@ def get_jdk_path():
return matches[0].parent
except FileNotFoundError:
# find jdk installation in PATH
return ""
return Path()

def is_jdk_installed():
try:
Expand Down

0 comments on commit d0addd8

Please sign in to comment.