From 305a075e515afe7ba9e4e8d966326fc3d5040b7c Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Mon, 6 Dec 2021 01:06:21 +0200 Subject: [PATCH] fixup! Packer hooks. --- .pre-commit-hooks.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 6b2ad4e..ad5da27 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -42,7 +42,7 @@ description: Fix known backwards incompatibilities in Packer templates language: python entry: packer-fix - types: [json, hcl] + types_or: [json, hcl] - id: packer-fmt name: Format Packer templates @@ -56,7 +56,7 @@ description: Checks that the Packer template is valid language: python entry: packer-validate - types: [json, hcl] + types_or: [json, hcl] - id: poetry-check name: poetry check -- GitLab