Skip to content

Commit

Permalink
Update src/mono/browser/runtime/loader/icu.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Pavel Savara <[email protected]>
  • Loading branch information
2 people authored and github-actions committed Sep 19, 2024
1 parent 0cea0da commit dfb0a0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mono/browser/runtime/loader/icu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export function getIcuResourceName (config: MonoConfig): string | null {
let icuFile = null;
if (config.globalizationMode === GlobalizationMode.Custom) {
// custom ICU file is saved in the resources with fingerprinting and does not require mapping
if (icuFiles.length === 1) {
if (icuFiles.length >= 1) {
return icuFiles[0];
}
} else if (config.globalizationMode === GlobalizationMode.Hybrid) {
Expand Down

0 comments on commit dfb0a0d

Please sign in to comment.