forked from github/pre-commit-opentofu
fix: remove dead code from terraform-docs script (#229)
This commit is contained in:
parent
299ef1208b
commit
ff54bb44aa
1 changed files with 0 additions and 5 deletions
|
|
@ -93,7 +93,6 @@ terraform_docs() {
|
|||
local -a -r files=("$@")
|
||||
|
||||
declare -a paths
|
||||
declare -a tfvars_files
|
||||
|
||||
local index=0
|
||||
local file_with_path
|
||||
|
|
@ -102,10 +101,6 @@ terraform_docs() {
|
|||
|
||||
paths[index]=$(dirname "$file_with_path")
|
||||
|
||||
if [[ "$file_with_path" == *".tfvars" ]]; then
|
||||
tfvars_files+=("$file_with_path")
|
||||
fi
|
||||
|
||||
((index += 1))
|
||||
done
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue