Update test/backend-test/check-translations.test.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
7af6a34f20
commit
6eebee0c5e
@ -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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user