Skip to content

Commit

Permalink
fixed validator script
Browse files Browse the repository at this point in the history
  • Loading branch information
elmuerte committed Feb 14, 2024
1 parent bd7dd2a commit c94e384
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ jobs:
- run: npm ci
- run: npm run validate
- run: npm run build
- run: npm run test
2 changes: 1 addition & 1 deletion bin/validate-json.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ async function validate_json(filePattern) {
}

let allValid = true;
for (let i = 0; i < process.argv.length; i++) {
for (let i = 2; i < process.argv.length; i++) {
allValid &= await validate_json(process.argv[i]);
}

Expand Down

0 comments on commit c94e384

Please sign in to comment.