Skip to content

Commit

Permalink
fix(registry-lint): update schema URL
Browse files Browse the repository at this point in the history
  • Loading branch information
williamboman committed Jun 5, 2024
1 parent 9bbafe3 commit 5bc9a04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion registry-lint/validate-schema.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ set -euo pipefail
npm install -g ajv ajv-cli ajv-formats

SCHEMA_FILE=$(mktemp -t XXXX.json)
curl -fsSL https://raw.githubusercontent.com/mason-org/json-schema/main/bundled-schema.json > "$SCHEMA_FILE"
curl -fsSL https://github.com/mason-org/registry-schema/releases/latest/download/package.schema.json > "$SCHEMA_FILE"
<<< "$PACKAGES" tr ' ' '\n' | xargs -P10 -I{} ajv validate -d {} -c ajv-formats -s "$SCHEMA_FILE"

for pkg in $PACKAGES; do
Expand Down

0 comments on commit 5bc9a04

Please sign in to comment.