aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/check_dockerfiles.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/check_dockerfiles.sh b/scripts/check_dockerfiles.sh
index 1764017..a94ccb4 100755
--- a/scripts/check_dockerfiles.sh
+++ b/scripts/check_dockerfiles.sh
@@ -19,7 +19,7 @@ get_build() {
local branch="${1:?"get_build: argument 1 'branch' is unset"}"
# Attempt to use cached value
- if [[ -v "${build_cache[$branch]}" ]]; then
+ if [[ -v build_cache["${branch}"] ]]; then
printf '%s' "${build_cache[$branch]}"
return 0
fi