fix: remove dead code from terraform-docs script (#229)

This commit is contained in:
Sergei Ivanov 2021-09-20 14:46:36 +01:00 committed by GitHub
commit ff54bb44aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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