mirror of
https://github.com/vishapoberon/vipatsar.git
synced 2026-04-05 21:12:25 +00:00
update validate_json.sh: not all packages need dependencies
This commit is contained in:
parent
5bf0a1065c
commit
dc2d564f01
1 changed files with 0 additions and 4 deletions
|
|
@ -89,10 +89,6 @@ validate_json() {
|
|||
fi
|
||||
fi
|
||||
fi
|
||||
if jq -e '.dependencies | type != "object"' "$json" >/dev/null 2>/dev/null; then
|
||||
perror "$json invalid dependencies field (must be object)"
|
||||
errors=$((errors + 1))
|
||||
fi
|
||||
if ! jq -e '.build | type == "array"' "$json" >/dev/null 2>/dev/null; then
|
||||
perror "$json invalid build field (must be array)"
|
||||
errors=$((errors + 1))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue