diff --git a/bin/sanitycheck.js b/bin/sanitycheck.js index f2e5b9877..a6e85cc4f 100755 --- a/bin/sanitycheck.js +++ b/bin/sanitycheck.js @@ -253,6 +253,10 @@ apps.forEach((app,appIdx) => { if (a>=0 && b>=0 && a !d.name || !d.name.endsWith(".json"))) { + WARN(`App ${app.id} has a setting file but no corresponding data entry (add \`"data":[{"name":"${app.id}.settings.json"}]\`)`, {file:appDirRelative+file.url}); + } } for (const key in file) { if (!STORAGE_KEYS.includes(key)) ERROR(`App ${app.id} file ${file.name} has unknown key ${key}`, {file:appDirRelative+file.url});