Skip to content

Commit ff54bb4

Browse files
fix: remove dead code from terraform-docs script (antonbabenko#229)
1 parent 299ef12 commit ff54bb4

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

terraform_docs.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ terraform_docs() {
9393
local -a -r files=("$@")
9494

9595
declare -a paths
96-
declare -a tfvars_files
9796

9897
local index=0
9998
local file_with_path
@@ -102,10 +101,6 @@ terraform_docs() {
102101

103102
paths[index]=$(dirname "$file_with_path")
104103

105-
if [[ "$file_with_path" == *".tfvars" ]]; then
106-
tfvars_files+=("$file_with_path")
107-
fi
108-
109104
((index += 1))
110105
done
111106

0 commit comments

Comments
 (0)