From 2bae510079ebd43c28f5121876a1bb320f7c55fc Mon Sep 17 00:00:00 2001 From: George Lima Date: Sat, 1 Dec 2018 02:29:49 -0300 Subject: [PATCH] hotfix: remove intermediary variable --- config/daemon/get-os-folder.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/config/daemon/get-os-folder.js b/config/daemon/get-os-folder.js index 039b184..c66144a 100644 --- a/config/daemon/get-os-folder.js +++ b/config/daemon/get-os-folder.js @@ -2,9 +2,7 @@ import os from 'os'; export default () => { - const platform = os.platform(); - - if (platform === 'darwin') { + if (os.platform() === 'darwin') { return 'mac'; }