mirror of
https://github.com/ibratabian17/OpenParty.git
synced 2026-01-15 14:22:54 -03:00
16 lines
462 B
JavaScript
16 lines
462 B
JavaScript
var sdb = require('./openparty-all/songdbs.json');
|
|
var ahud = require('./jd2017-nx/sku-packages.json');
|
|
|
|
var missingElements = [];
|
|
|
|
for (var key in ahud) {
|
|
if (ahud.hasOwnProperty(key)) {
|
|
// Check if the corresponding key without "_mapContent" exists in sdb
|
|
if (!sdb[key.replace("_mapContent", "")]) {
|
|
if(!key.includes("bossContent") && !key.includes("JDM"))missingElements.push(key);
|
|
}
|
|
}
|
|
}
|
|
|
|
console.log(JSON.stringify(missingElements));
|