From ff54bb44aaafa11dcdc20f7884645641a8bcd179 Mon Sep 17 00:00:00 2001 From: Sergei Ivanov Date: Mon, 20 Sep 2021 14:46:36 +0100 Subject: [PATCH] fix: remove dead code from terraform-docs script (#229) --- terraform_docs.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/terraform_docs.sh b/terraform_docs.sh index 8c7076b..1eb3c05 100755 --- a/terraform_docs.sh +++ b/terraform_docs.sh @@ -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