Skip to content

Commit

Permalink
Initialise tflint to install plugins (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
pauloconnor authored Oct 27, 2021
1 parent 3544d29 commit 1722bf6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hooks/tflint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ set -e
# workaround to allow GitHub Desktop to work, add this (hopefully harmless) setting here.
export PATH=$PATH:/usr/local/bin

# Install any plugins defined in .tflint.hcl
tflint --init

for file in "$@"; do
tflint $file
done

0 comments on commit 1722bf6

Please sign in to comment.