File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ function terraform_docs {
87
87
local add_to_existing=false
88
88
local create_if_not_exist=false
89
89
local use_standard_markers=true
90
- local had_config_flag =false
90
+ local have_config_flag =false
91
91
92
92
IFS=" ;" read -r -a configs <<< " $hook_config"
93
93
@@ -142,7 +142,7 @@ function terraform_docs {
142
142
local tf_docs_formatter=" md"
143
143
144
144
else
145
- had_config_flag =true
145
+ have_config_flag =true
146
146
local config_file=${args#* --config}
147
147
config_file=${config_file#* =}
148
148
# If there are more parameters after config path, trim until --
@@ -238,7 +238,7 @@ function terraform_docs {
238
238
[[ ! $have_marker ]] && popd > /dev/null && continue
239
239
fi
240
240
local config_options=" "
241
- if [[ $had_config_flag == true ]]; then
241
+ if [[ $have_config_flag == true ]]; then
242
242
config_options=" --config=$config_file "
243
243
fi
244
244
# shellcheck disable=SC2086
You can’t perform that action at this time.
0 commit comments