We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
terraform_docs
terraform-docs
1 parent 869a106 commit 2b1aec8Copy full SHA for 2b1aec8
hooks/terraform_docs.sh
@@ -213,7 +213,7 @@ function terraform_docs {
213
#
214
if [[ $add_to_existing == false ]]; then
215
have_marker=$(grep -o "$insertion_marker_begin" "$output_file") || unset have_marker
216
- [[ ! $have_marker ]] && continue
+ [[ ! $have_marker ]] && popd > /dev/null && continue
217
fi
218
# shellcheck disable=SC2086
219
terraform-docs --output-mode="$output_mode" --output-file="$output_file" $tf_docs_formatter $args ./ > /dev/null
0 commit comments