Skip to content

Commit

Permalink
updated validator
Browse files Browse the repository at this point in the history
  • Loading branch information
mluggy committed Sep 13, 2024
1 parent f310968 commit 17d63b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/scripts/validate-pr.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,9 @@ async function validateLogo(jsonFilePath, logosFolderPath) {
process.exit(1);
}

if (!["webp", "jpeg", "jpg", "gif"].includes(metadata.format)) {
if (!["webp", "jpeg", "jpg", "gif", "png"].includes(metadata.format)) {
console.error(
`Logo file ${logoFile} is not in a valid format (webp, jpeg, jpg, or gif)`
`Logo file ${logoFile} is not in a valid format (webp, jpeg, jpg, png, or gif):`
);
process.exit(1);
}
Expand Down

0 comments on commit 17d63b2

Please sign in to comment.