Skip to content

Commit ad79f67

Browse files
committed
Add missing brackets to call to toUpperCase
1 parent 96f6208 commit ad79f67

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/vector/platform/ElectronPlatform.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ function platformFriendlyName() {
5252
// Sorry, Linux users: you get lumped into here,
5353
// but only because Linux's capitalisation is
5454
// normal. We do care about you.
55-
return window.process.platform[0].toUpperCase + window.process.platform.slice(1);
55+
return window.process.platform[0].toUpperCase() + window.process.platform.slice(1);
5656
}
5757
}
5858

0 commit comments

Comments
 (0)