Skip to content

Commit

Permalink
Make java_path a Path, not string
Browse files Browse the repository at this point in the history
  • Loading branch information
ajfabbri committed Sep 18, 2024
1 parent ce440d6 commit 1375c03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interface_gen/toolchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def find_java(root: Path) -> Path | None:
java_path = java_files[0]
env = java_env(java_path)
subprocess.check_output([str(java_path), '-version'], env=env)
return java_path
return Path(java_path)


def ensure_jre() -> Path | None:
Expand Down

0 comments on commit 1375c03

Please sign in to comment.