Skip to content

Commit

Permalink
feat: fix fmt instead of only checking
Browse files Browse the repository at this point in the history
  • Loading branch information
Ri-go committed Nov 3, 2022
1 parent 1fc771e commit 7708a4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hooks/packer_fmt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if [ -z "$(command -v packer)" ]; then
exit 1
fi

if ! packer fmt -check .; then
if ! packer fmt .; then
echo "Failed"
echo "================================"
exit 1
Expand Down

0 comments on commit 7708a4a

Please sign in to comment.