From aabcb62a28fa32f1b3188388b46901005d7d96ad Mon Sep 17 00:00:00 2001 From: Gordon Williams Date: Mon, 12 Dec 2022 11:37:19 +0000 Subject: [PATCH] fix overzealous sanity check --- bin/sanitycheck.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/sanitycheck.js b/bin/sanitycheck.js index 6537f4389..838f99895 100644 --- a/bin/sanitycheck.js +++ b/bin/sanitycheck.js @@ -245,7 +245,7 @@ apps.forEach((app,appIdx) => { if (!STORAGE_KEYS.includes(key)) ERROR(`App ${app.id} file ${file.name} has unknown key ${key}`, {file:appDirRelative+file.url}); } // warn if JS icon is the wrong size - if (file.name == app.id+".img") { + if (file.name == app.id+".img" && file.evaluate) { let icon; let match = fileContents.match(/^\s*E\.toArrayBuffer\(atob\(\"([^"]*)\"\)\)\s*$/); if (match==null) match = fileContents.match(/^\s*atob\(\"([^"]*)\"\)\s*$/);