From: Patrick Detlefsen Date: Tue, 16 Jun 2015 09:48:39 +0000 (+0200) Subject: switch statement coffee else instead of default X-Git-Tag: v0.34.1~3^2~6 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=7aa60baafb0749075ac33ff77dc183f2e0bc91cc;p=electron.git switch statement coffee else instead of default --- diff --git a/atom/browser/api/lib/auto-updater.coffee b/atom/browser/api/lib/auto-updater.coffee index 0b7e84ba..1b6c935f 100644 --- a/atom/browser/api/lib/auto-updater.coffee +++ b/atom/browser/api/lib/auto-updater.coffee @@ -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