Skip to content

Commit 62acdd0

Browse files
tflint has deprecated the 'tflint FILE/DIR' syntax (#95)
* tflint has deprecated the 'tflint FILE/DIR' syntax * Quote parameters to dirname/basename --------- Co-authored-by: Jeremy Yoder <45078974+jyoder-deloitte@users.noreply.github.com>
1 parent 0c0c80e commit 62acdd0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hooks/tflint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ done
2626

2727
for file in "${FILES[@]}"
2828
do
29-
tflint "${ARGS[@]}" "$file"
29+
tflint "${ARGS[@]}" --chdir "$(dirname "$file")" --filter "$(basename "$file")"
3030
done

0 commit comments

Comments
 (0)