Apply Biome lint fixes
CI / check (push) Failing after 26s
CI / release (push) Skipped
CI / deploy (push) Skipped

This commit is contained in:
openhands committed 2026-08-25 22:26:05 +02:00
1 parent f63ca708fe
commit 4eded4ec61
4 files changed
+7 -9

No files matched your search

+2 -2
View File
@@ -97,7 +97,7 @@ async function main(): Promise<void> {
const dbByClass = new Map(baseRows.map((r) => [r.itemName, r.id]));
const dbById = new Map(baseRows.map((r) => [r.id, r.itemName]));
let fdWrongId = 0;
let fdIdConflict = 0; // id belongs to a different classname in DB
let _fdIdConflict = 0; // id belongs to a different classname in DB
let fdMissingInDb = 0;
const fdExamplesWrong: string[] = [];
for (const e of entries) {
@@ -114,7 +114,7 @@ async function main(): Promise<void> {
);
continue;
}
if (dbById.get(e.id) !== e.classname) fdIdConflict++;
if (dbById.get(e.id) !== e.classname) _fdIdConflict++;
}
console.log(
` furnidata entries whose id != items_base.id for same classname: ${fdWrongId}`,
+1 -3
View File
@@ -24,9 +24,7 @@ const FILES = [
];
function env(name) {
return process.env[name] && process.env[name].length
? process.env[name]
: null;
return process.env[name]?.length ? process.env[name] : null;
}
function applyOverrides(data) {