Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | /* eslint-disable @typescript-eslint/no-var-requires */
const { auditMusicWebL10NManifest } = require("./musicWebLocales");
const { missingKeys, unusedKeys } = auditMusicWebL10NManifest();
Iif (missingKeys.length > 0) {
console.error(
"music web locale manifest is missing statically referenced keys:",
);
for (const key of missingKeys) {
console.error(`- ${key}`);
}
process.exit(1);
}
Iif (unusedKeys.length > 0) {
console.warn("music web locale manifest has unused keys:");
for (const key of unusedKeys) {
console.warn(`- ${key}`);
}
}
console.log("music web locale manifest audit passed");
|