🎨 Refactor whitespace

This commit is contained in:
Luis Blanco 2018-05-13 22:48:39 +03:00
parent 7baf4be872
commit 69f2775fc0
1 changed files with 2 additions and 2 deletions

View File

@ -17,8 +17,8 @@ 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.`);
}