From e55577c57b39ea86d47633f889b015cc6fecbfe9 Mon Sep 17 00:00:00 2001 From: Thomas Neil James Shadwell Date: Wed, 9 Oct 2024 12:02:42 -0700 Subject: [PATCH] Update __main__.py please write tests someday thomas --- py/ci/postUpgrade/__main__.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/py/ci/postUpgrade/__main__.py b/py/ci/postUpgrade/__main__.py index aca0fee8bc..12e9bbce52 100644 --- a/py/ci/postUpgrade/__main__.py +++ b/py/ci/postUpgrade/__main__.py @@ -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, )