Skip to content

Commit

Permalink
Remove unnecessary hook configuration options
Browse files Browse the repository at this point in the history
After testing we do not appear to need to set `require_serial` for the
`packer_validate` hook. Additionally the default value for
`pass_filenames` is `true` so we do not need to explicitly set the same
value.

Co-authored-by: dav3r <[email protected]>
  • Loading branch information
mcdonnnj and dav3r committed Sep 11, 2024
1 parent 0303240 commit d09e717
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
entry: hooks/packer_validate.sh
language: script
files: \.pkr\.hcl$
pass_filenames: true
require_serial: true

- id: packer_fmt
name: Packer Format
Expand All @@ -16,4 +14,3 @@
- -check
language: script
files: \.pkr(?:vars)?\.hcl$
pass_filenames: true

0 comments on commit d09e717

Please sign in to comment.