-
Notifications
You must be signed in to change notification settings - Fork 171
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Hook fails to run when installed through pre-commit because of two bugs:
- Line 1 must have shebang but is instead on line 2
sentinel fmtdoes not have adiffcommand-line argument
To Reproduce
Steps to reproduce the behavior including the relevant Terraform/Terragrunt/Packer version number and any code snippets and module inputs you used.
.pre-commit-config.yaml
repos:
- repo: https://github.com/gruntwork-io/pre-commit
rev: v0.1.25
hooks:
- id: sentinel-fmtpre-commit install
pre-commit run --all-filesExpected behavior
Pre-commit hook would run and indicate files requiring formatting
Nice to have
- Terminal output
- Screenshots
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working