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

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
pull/6591/head
Frank Elsinga 4 months ago committed by GitHub
parent 7af6a34f20
commit 6eebee0c5e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save