mirror of
https://git.dn42.dev/dn42/registry.git
synced 2025-07-14 06:35:26 +08:00
squashed commit:
ee60a101b remove check for a `-` before/after the maintainer name. Now only checks for a : or whitespace before, and whitespace or line ending after ff075a741 squashed commit: previous squashed commit: 7d0fcc341 expand checks from previous commit f7799a45b check for a space in front of the maintainer name in fmt-my-stuff ### DN42 Signature ### method: ssh-git ### mntner: G-MNT
This commit is contained in:
parent
d61ac4aa0c
commit
3acae37b09
1 changed files with 1 additions and 1 deletions
|
@ -9,4 +9,4 @@ fi
|
|||
BASE="$(readlink -f "$0" 2>/dev/null || python -c 'import os,sys;print(os.path.realpath(sys.argv[1]))' "$0")"
|
||||
BASE="$(dirname "$BASE")"
|
||||
|
||||
grep -lr $1 "$BASE/data/" | while read line; do utils/schema-check/dn42-schema.py fmt -i "$line"; done
|
||||
grep -lrE "(\s|:)$1(\s|\$)" "$BASE/data/" | while read line; do utils/schema-check/dn42-schema.py fmt -i "$line"; done
|
||||
|
|
Loading…
Add table
Reference in a new issue