mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-01-31 11:03:11 +08:00
Update test/backend-test/check-translations.test.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user