category id
This commit is contained in:
@@ -132,7 +132,11 @@ async function main() {
|
||||
|
||||
for (const plan of plans) {
|
||||
if (!plan.aisle) {
|
||||
orphans.push(plan);
|
||||
// Only worth reporting if the product has no aisle ALREADY. Several were
|
||||
// filed by hand long before any of this, and listing those as "would stay
|
||||
// under Uncategorized" says the opposite of what is true.
|
||||
if (plan.from === 0) orphans.push(plan);
|
||||
else unchanged += 1;
|
||||
continue;
|
||||
}
|
||||
const to = aisleIds.get(plan.aisle.toLowerCase()) ?? 0;
|
||||
|
||||
Reference in New Issue
Block a user