[mod] tools:check:sorting
This commit is contained in:
parent
c17fb1d17e
commit
32750c5335
|
|
@ -8,7 +8,7 @@ dir_base="."
|
|||
## exec
|
||||
|
||||
flaws=0
|
||||
for path in $(find ${dir_base} -name "*.json")
|
||||
for path in $(find ${dir_base} -name "*.json" | sort)
|
||||
do
|
||||
echo "-- ${path}"
|
||||
python3 -m json.tool ${path} > /dev/null || ((flaws+=1))
|
||||
|
|
|
|||
Loading…
Reference in a new issue