hotfix: remove intermediary variable
This commit is contained in:
parent
fa1ed9ead7
commit
2bae510079
|
@ -2,9 +2,7 @@
|
|||
import os from 'os';
|
||||
|
||||
export default () => {
|
||||
const platform = os.platform();
|
||||
|
||||
if (platform === 'darwin') {
|
||||
if (os.platform() === 'darwin') {
|
||||
return 'mac';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue