diff options
| -rwxr-xr-x | tools/pre-commit-hook | 6 | ||||
| -rwxr-xr-x | tools/validate-all-yaml.sh | 2 |
2 files changed, 2 insertions, 6 deletions
diff --git a/tools/pre-commit-hook b/tools/pre-commit-hook index be7bc6db3..e7c0de593 100755 --- a/tools/pre-commit-hook +++ b/tools/pre-commit-hook @@ -33,12 +33,8 @@ echo "=== yaml checks ===" ${TOPLEVEL}/tools/validate-all-yaml.sh || RES=1 -echo "=== json checks ===" - -${TOPLEVEL}/tools/validate-all-json.sh || RES=1 - echo "=== dockerfile checks ===" -${TOPLEVEL}/tools/validate-all-dockerfiles || RES=1 +${TOPLEVEL}/tools/validate-all-dockerfiles.sh || RES=1 exit $RES diff --git a/tools/validate-all-yaml.sh b/tools/validate-all-yaml.sh index f74a8018d..9780f1aa9 100755 --- a/tools/validate-all-yaml.sh +++ b/tools/validate-all-yaml.sh @@ -5,4 +5,4 @@ REAL_PATH=$(realpath $0) cd "$(dirname "$REAL_PATH")/.." find . -name '*.yaml' -o -name '*.yml' -print0 | - xargs -0 python tools/validate-yaml.py || exit 1 + xargs -0 python3 tools/validate-yaml.py || exit 1 |
