🎨 Refactor whitespace

This commit is contained in:
raub 2018-05-14 11:05:33 +03:00
parent c77f4f30dd
commit d5f1697e2e
1 changed files with 3 additions and 3 deletions

View File

@ -17,10 +17,10 @@ const prefixName = name => `bin-${name}`;
const getPlatformDir = platform => { const getPlatformDir = platform => {
switch (platform) { switch (platform) {
case 'win32' : return process.arch === 'x64' ? 'win64' : 'win32'; case 'win32' : return process.arch === 'x64' ? 'win64' : 'win32';
case 'linux' : return process.arch === 'x64' ? 'linux64' : 'linux32'; case 'linux' : return process.arch === 'x64' ? 'linux64' : 'linux32';
case 'darwin' : return 'mac64'; case 'darwin' : return 'mac64';
default : throw new Error(`Platform "${platform}" is not supported.`); default : throw new Error(`Platform "${platform}" is not supported.`);
} }
}; };