Update test/backend-test/check-translations.test.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Frank Elsinga 2026-01-06 00:21:56 +01:00 committed by GitHub
parent 7af6a34f20
commit 6eebee0c5e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -51,11 +51,8 @@ describe("Check Translations", () => {
} }
}); });
} catch (e) { } catch (e) {
if (e instanceof TypeError && e.message.includes("is not a function")) { console.error(`Error processing file: ${filePath}`, e);
// Ignore errors from binary files throw e;
} else {
console.error(`Error processing file: ${filePath}`, e);
}
} }
} }
} }