Skip to content

Commit adb63b1

Browse files
committed
fix: Fix typo in util function
1 parent 6d03d65 commit adb63b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function convertToBcp47(langCode) {
4747
const numTokens = tokens.length;
4848
tokens = tokens.map((token, index) => {
4949
if (index === numTokens - 1) {
50-
return token.toUppercase();
50+
return token.toUpperCase();
5151
}
5252
return token.toLowerCase();
5353
});

0 commit comments

Comments
 (0)