hotfix: remove intermediary variable

This commit is contained in:
George Lima 2018-12-01 02:29:49 -03:00
parent fa1ed9ead7
commit 2bae510079
1 changed files with 1 additions and 3 deletions

View File

@ -2,9 +2,7 @@
import os from 'os';
export default () => {
const platform = os.platform();
if (platform === 'darwin') {
if (os.platform() === 'darwin') {
return 'mac';
}