From 412973bb47f4a8ecc619ad5ce804859d9a101f8b Mon Sep 17 00:00:00 2001 From: Chuck Grindel Date: Thu, 14 Dec 2023 14:38:12 -0700 Subject: [PATCH] Fix variable check. --- .github/actions/run_bazel_test/run_bazel_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/run_bazel_test/run_bazel_test.sh b/.github/actions/run_bazel_test/run_bazel_test.sh index 4faa10d..9ced3d3 100755 --- a/.github/actions/run_bazel_test/run_bazel_test.sh +++ b/.github/actions/run_bazel_test/run_bazel_test.sh @@ -18,7 +18,7 @@ else bzl_pkgs='//...' fi -if [[ "${working_dir:-}" != "" ]]; then +if [[ -n "${working_dir:-}" ]]; then cd "${working_dir}" fi