mirror of https://github.com/MISP/misp-objects
chg: sort all entries in jq script
parent
d9f1db590a
commit
95a9d0abe1
|
@ -19,7 +19,7 @@ set -x
|
||||||
|
|
||||||
for dir in objects/*/definition.json
|
for dir in objects/*/definition.json
|
||||||
do
|
do
|
||||||
cat ${dir} | jq . | sponge ${dir}
|
cat ${dir} | jq -S -j . | sponge ${dir}
|
||||||
done
|
done
|
||||||
|
|
||||||
cat relationships/definition.json | jq . | sponge relationships/definition.json
|
cat relationships/definition.json | jq . | sponge relationships/definition.json
|
||||||
|
|
Loading…
Reference in New Issue