mirror of
https://github.com/electron/electron.git
synced 2026-01-29 09:18:18 -05:00
switch statement coffee else instead of default
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
switch process.platform
|
||||
when 'win32'
|
||||
autoUpdater = require('./auto-updater/auto-updater-win')
|
||||
default
|
||||
else
|
||||
# take the default binding for the current platform
|
||||
autoUpdater = process.atomBinding('auto_updater').autoUpdater
|
||||
|
||||
|
||||
Reference in New Issue
Block a user