Skip to content

Commit

Permalink
Update __main__.py
Browse files Browse the repository at this point in the history
please write tests someday thomas
  • Loading branch information
Zemnmez committed Oct 9, 2024
1 parent cf247c6 commit e55577c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions py/ci/postUpgrade/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,13 @@ def run(*args, env = {}, **kwargs):

def bazel(args: list[str] = [], **kwargs):
return run(
["npx", "--yes", "@bazel/bazelisk",
"--tool_tag=postupgrade"] + args,
["npx", "--yes", "@bazel/bazelisk"] + args,
check=True, **kwargs,
)

def bazel_run(args: list[str] = [], env: dict[str, str] = {}, **kwargs):
return bazel(
["run"] + args,
["run", "--tool_tag=postupgrade"] + args,
**kwargs,
)

Expand Down

0 comments on commit e55577c

Please # to comment.