Skip to content

Commit

Permalink
[scripts] Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
TheEpicBlock committed Sep 30, 2024
1 parent f8b2741 commit 425d079
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/run_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ def run_server(exec_dir, java, loader, java_args, mc_args, **kwargs) -> subproce
env["JDK_JAVA_OPTIONS"] = " ".join(java_args)

# Set env to use the right java
path = os.env["PATH"] if "PATH" in os.env else ""
path = os.environ["PATH"] if "PATH" in os.environ else ""
if os.name == "nt":
env["PATH"] = f"{java.parent};{path}"
else:
Expand Down

0 comments on commit 425d079

Please sign in to comment.