From e7248b486f1db3b3fb57e2736e7b8089d42e9880 Mon Sep 17 00:00:00 2001 From: probablycorey Date: Mon, 3 Feb 2014 12:39:54 -0800 Subject: [PATCH] Parse the 4th argument into a date. --- browser/api/lib/auto-updater.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/api/lib/auto-updater.coffee b/browser/api/lib/auto-updater.coffee index fc29bd3d..81c22f16 100644 --- a/browser/api/lib/auto-updater.coffee +++ b/browser/api/lib/auto-updater.coffee @@ -5,7 +5,7 @@ AutoUpdater::__proto__ = EventEmitter.prototype autoUpdater = new AutoUpdater autoUpdater.on 'update-downloaded-raw', (args...) -> - args[2] = new Date(args[2]) # releaseDate + args[3] = new Date(args[3]) # releaseDate @emit 'update-downloaded', args..., => @quitAndInstall() module.exports = autoUpdater -- 2.43.0