From ad79f67ab6d3b6cbea1605f9e123e017448cbf14 Mon Sep 17 00:00:00 2001 From: Hubert Chathi Date: Tue, 6 Dec 2016 17:59:17 -0500 Subject: [PATCH] Add missing brackets to call to toUpperCase --- src/vector/platform/ElectronPlatform.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vector/platform/ElectronPlatform.js b/src/vector/platform/ElectronPlatform.js index d6f4013a..3b41822b 100644 --- a/src/vector/platform/ElectronPlatform.js +++ b/src/vector/platform/ElectronPlatform.js @@ -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); } }