Add missing brackets to call to toUpperCase

This commit is contained in:
Hubert Chathi 2016-12-06 17:59:17 -05:00 committed by Hubert Chathi
parent 96f620829f
commit ad79f67ab6

View file

@ -52,7 +52,7 @@ function platformFriendlyName() {
// Sorry, Linux users: you get lumped into here,
// but only because Linux's capitalisation is
// normal. We do care about you.
return window.process.platform[0].toUpperCase + window.process.platform.slice(1);
return window.process.platform[0].toUpperCase() + window.process.platform.slice(1);
}
}