Skip to content

Commit

Permalink
fix: remove dead code from terraform-docs script (#229)
Browse files Browse the repository at this point in the history
  • Loading branch information
sergei-ivanov authored Sep 20, 2021
1 parent 299ef12 commit ff54bb4
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions terraform_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ terraform_docs() {
local -a -r files=("$@")

declare -a paths
declare -a tfvars_files

local index=0
local file_with_path
Expand All @@ -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

Expand Down

0 comments on commit ff54bb4

Please sign in to comment.