From d5f1697e2eae65daff49669c59c36f41b370964e Mon Sep 17 00:00:00 2001 From: raub Date: Mon, 14 May 2018 11:05:33 +0300 Subject: [PATCH] :art: Refactor whitespace --- index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index aaeadda..3640ec9 100644 --- a/index.js +++ b/index.js @@ -17,10 +17,10 @@ const prefixName = name => `bin-${name}`; const getPlatformDir = platform => { switch (platform) { - case 'win32' : return process.arch === 'x64' ? 'win64' : 'win32'; - case 'linux' : return process.arch === 'x64' ? 'linux64' : 'linux32'; + case 'win32' : return process.arch === 'x64' ? 'win64' : 'win32'; + case 'linux' : return process.arch === 'x64' ? 'linux64' : 'linux32'; case 'darwin' : return 'mac64'; - default : throw new Error(`Platform "${platform}" is not supported.`); + default : throw new Error(`Platform "${platform}" is not supported.`); } };