mirror of
https://github.com/tofuutils/pre-commit-opentofu.git
synced 2025-10-15 17:38:54 +02:00
Fixed tflint hook to iterate over files (#77)
This commit is contained in:
parent
47346044cb
commit
e990429660
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ main() {
|
|||
}
|
||||
|
||||
tflint_() {
|
||||
for file_with_path in "$@"; do
|
||||
for file_with_path in $files; do
|
||||
file_with_path="${file_with_path// /__REPLACED__SPACE__}"
|
||||
|
||||
paths[index]=$(dirname "$file_with_path")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue