Skip to content

Commit

Permalink
tflint has deprecated the 'tflint FILE/DIR' syntax (#95)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
WolverineFan and jyoder-deloitte authored May 12, 2023
1 parent 0c0c80e commit 62acdd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hooks/tflint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ done

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

0 comments on commit 62acdd0

Please sign in to comment.