Skip to content

Commit db4d7c2

Browse files
committed
fix(common-utils): šŸ› correct invocation of validate-json function in normalization script
1 parent 0f95796 commit db4d7c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ā€Žsrc/common-utils/_normalize-json.shā€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ for file in $files; do
3131

3232
# Validate JSON
3333
zz_log i "Normalizing {U $file}..."
34-
list=$(./src/common-utils/_validate-json.sh ${allow:+-a} ${cache:+-c} ${debug:+-d} ${fallback:+-f "$fallback"} ${local:+-l "$local"} ${import:+-i} ${schema:+-s"$schema"} $file)
34+
list=$(validate-json ${allow:+-a} ${cache:+-c} ${debug:+-d} ${fallback:+-f "$fallback"} ${local:+-l "$local"} ${import:+-i} ${schema:+-s"$schema"} $file)
3535

3636
if test -z "$list"; then
3737
zz_log e "JSON {U $file} not valid, cannot normalize" && exit 1

0 commit comments

Comments
Ā (0)