I have a mono repo where all my packer recipes are defined.
It basically follows this format
service-a/packer.json
service-b/packer.json
But when multiple services are staged the hook fails.
Expected Behavior
The hook should be executed for each of the files.
Current Behavior
The hook fails and prints the CLI help text for the packer-validate/packer fix commands.
Steps to Reproduce
Stage both packer.json files following the folder structure reported above.
Environment
1.) Output of pre-commit --version
2.) Any other relevant environment information:
I have a mono repo where all my packer recipes are defined.
It basically follows this format
service-a/packer.json
service-b/packer.json
But when multiple
servicesare staged the hook fails.Expected Behavior
The hook should be executed for each of the files.
Current Behavior
The hook fails and prints the CLI help text for the
packer-validate/packer fixcommands.Steps to Reproduce
Stage both packer.json files following the folder structure reported above.
Environment
1.) Output of
pre-commit --version2.) Any other relevant environment information: