Fixed tflint hook to iterate over files (#77)

This commit is contained in:
Robson Roberto Souza Peixoto 2020-01-30 07:18:01 -03:00 committed by GitHub
commit e990429660
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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