Skip to content

Commit 1ccfcb2

Browse files
committed
Wrap var in double quotes
1 parent 8cd684f commit 1ccfcb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hooks/terraform_providers_lock.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ function per_dir_hook_unique_part {
123123
key=${config[0]}
124124
value=${config[1]}
125125

126-
case $key in
126+
case "$key" in
127127
--mode)
128128
if [ "$mode" ]; then
129129
common::colorify "yellow" 'Invalid hook config. Make sure that you specify not more than one "--mode" flag'

0 commit comments

Comments
 (0)