Skip to content

Commit

Permalink
fix silly bug, update deps to solve type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomás Ciccola committed Feb 7, 2024
1 parent 49ca3df commit 00d9bba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config-import.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export async function readConfig(configPath) {
const entries = await iconsZip.readEntries(MAX_ENTRIES)
for (const entry of entries) {
if (!entry.filename.match(/^icons\/([^/]+)$/)) continue
if (!entry.uncompressedSize > MAX_ICON_SIZE) {
if (entry.uncompressedSize > MAX_ICON_SIZE) {
warnings.push(
new Error(
`icon ${entry.filename} is bigger than maximum allowed size (10MB) `
Expand Down

0 comments on commit 00d9bba

Please sign in to comment.