mirror of
https://git.dn42.dev/dn42/registry.git
synced 2025-05-08 21:55:21 +08:00
Merge pull request 'Fix fmt-my-stuff to work with paths that contain spaces.' (#981) from BaTnz-20210723/fix-fmt-my-stuff-2 into master
Reviewed-on: https://git.dn42.dev/dn42/registry/pulls/981 Reviewed-by: schema-checker <schema-checker@noreply.dn42.us>
This commit is contained in:
commit
f64e212450
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 -lr $1 "$BASE/data/" | while read line; do utils/schema-check/dn42-schema.py fmt -i "$line"; done
|
||||
|
|
Loading…
Add table
Reference in a new issue