switch statement coffee else instead of default

This commit is contained in:
Patrick Detlefsen 2015-06-16 11:48:39 +02:00
parent 99f352228c
commit 7aa60baafb

View file

@ -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