Skip to content

Commit

Permalink
Run terraform_docs only if README.md is present
Browse files Browse the repository at this point in the history
  • Loading branch information
antonbabenko committed May 16, 2018
1 parent 8e03aec commit 091f8b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions terraform_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ for path_uniq in $(echo "${paths[*]}" | tr ' ' '\n' | sort -u); do
pushd "$path_uniq" > /dev/null

if [[ ! -f "$text_file" ]]; then
popd > /dev/null
continue
fi

Expand Down

0 comments on commit 091f8b1

Please sign in to comment.