Skip to content

Commit

Permalink
Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
arenekosreal authored and DetachHead committed Oct 31, 2024
1 parent d6f0682 commit 35d03dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/pyright-internal/src/localization/localize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export function getLocaleFromEnv(): string {
const localeStringSplit = localeString.split('.');
if (localeStringSplit.length > 0 && localeStringSplit[0]) {
// en_US -> en-us
const normalizedLocaleString = localeStringSplit[0].replace("_", "-").toLowerCase();
const normalizedLocaleString = localeStringSplit[0].replace('_', '-').toLowerCase();
return normalizedLocaleString || defaultLocale;
}
}
Expand Down

0 comments on commit 35d03dc

Please sign in to comment.