feat(i18n): introduce server error i18n (#9953)

close AF-2054
This commit is contained in:
forehalo committed 2025-02-05 12:30:19 +00:00
1 parent 4a943d854e
commit 4ed03c9f0e
12 files changed
+709 -110

No files matched your search

+4
View File
@@ -28,6 +28,10 @@ const lookups = [];
*/
let scriptLocation;
for (const location of fileLocationCandidates) {
if (scriptLocation) {
break;
}
const fileCandidates = [file, `${file}.js`, `${file}.ts`];
for (const candidate of fileCandidates) {
const candidateLocation = join(location, candidate);