mirror of
https://github.com/tofuutils/pre-commit-opentofu.git
synced 2025-10-15 17:38:54 +02:00
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=("$@")
|
local -a -r files=("$@")
|
||||||
|
|
||||||
declare -a paths
|
declare -a paths
|
||||||
declare -a tfvars_files
|
|
||||||
|
|
||||||
local index=0
|
local index=0
|
||||||
local file_with_path
|
local file_with_path
|
||||||
|
|
@ -102,10 +101,6 @@ terraform_docs() {
|
||||||
|
|
||||||
paths[index]=$(dirname "$file_with_path")
|
paths[index]=$(dirname "$file_with_path")
|
||||||
|
|
||||||
if [[ "$file_with_path" == *".tfvars" ]]; then
|
|
||||||
tfvars_files+=("$file_with_path")
|
|
||||||
fi
|
|
||||||
|
|
||||||
((index += 1))
|
((index += 1))
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue