mirror of
https://git.dn42.dev/dn42/registry.git
synced 2025-06-25 13:16:00 +08:00
Merge branch 'check-pol' of io/registry into master
This commit is contained in:
commit
0f0d34068a
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ BASE="$(dirname "$BASE")"
|
|||
cd "$BASE" || exit 1
|
||||
|
||||
git diff --name-only $1 | while IFS='/' read -ra LINE; do
|
||||
if [[ "${LINE[0]}" = "data" ]]; then
|
||||
if [[ "${LINE[0]}" = "data" && -n "${LINE[2]}" ]]; then
|
||||
utils/schema-check/dn42-schema.py -v policy ${LINE[1]} ${LINE[2]} $2
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Add table
Reference in a new issue