Skip to content

Commit

Permalink
fix bazel
Browse files Browse the repository at this point in the history
  • Loading branch information
chaokunyang committed Dec 12, 2024
1 parent c9b484d commit 7c03b1f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ci/run_ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,8 @@


def _bazel(cmd: str):
if _is_windows():
_exec_cmd(f"bazel {cmd}")
else:
_exec_cmd(f"~/bin/bazel {cmd}")
bazel_cmd = "bazel" if _is_windows() else "~/bin/bazel"
return _exec_cmd(f"{bazel_cmd} {cmd}")


def _exec_cmd(cmd: str):
Expand Down

0 comments on commit 7c03b1f

Please sign in to comment.