Merge "Fix pre-commit-hook"
This commit is contained in:
commit
026689d762
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user