Skip to content

Commit d949bca

Browse files
committed
Update env var check to not affect BCR compatibility pipeline
1 parent ef4639e commit d949bca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildkite/bazel-central-registry/bcr_presubmit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ def run_test(repo_location, task_config_file, task, overwrite_bazel_version=None
314314
"--repo_location=%s" % repo_location,
315315
] + (["--overwrite_bazel_version=%s" % overwrite_bazel_version] if overwrite_bazel_version else [])
316316
)
317-
if return_code == 73 and os.environ.get("USE_BAZELISK_MIGRATE"):
317+
if return_code == 73 and os.environ.get("ENABLE_BAZELISK_MIGRATE"):
318318
bazelci.eprint(
319319
"\n\x1b[31mERROR\x1b[0m: BCR presubmit failed with incompatible flags.\n"
320320
"Please consider migrate your project for the incompatible flags.\n"

0 commit comments

Comments
 (0)