From 1b69f2db46b3ecd4471330f1370bbf1074773493 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Thu, 13 Nov 2014 09:12:31 -0800 Subject: [PATCH] :lipstick: --- src/browser/auto-updater-win32.coffee | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/browser/auto-updater-win32.coffee b/src/browser/auto-updater-win32.coffee index 467279ef7..03e915bd8 100644 --- a/src/browser/auto-updater-win32.coffee +++ b/src/browser/auto-updater-win32.coffee @@ -56,7 +56,7 @@ class AutoUpdater stdout: (output) -> updateOutput += output exit: (exitCode) -> unless exitCode is 0 - console.log 'Failed to update: ' + exitCode + ' - ' + updateOutput + console.log "Failed to update: #{exitCode} - #{updateOutput}" emit 'update-not-available' return @@ -68,8 +68,8 @@ class AutoUpdater json = updateOutput.split("\n").reverse()[0] updateInfo = JSON.parse json - catch ex - console.log "Update output isn't valid: " + updateOutput + catch error + console.log "Update output isn't valid: #{updateOutput}" emit 'update-not-available' return @@ -84,8 +84,8 @@ class AutoUpdater # we always just download emit 'update-available' emit 'update-downloaded', - releaseNotes: latest.releaseNotes, - releaseName: "Atom " + latest.version, - releaseDate: "", # NB: Squirrel doesn't provide this :( - updateUrl: "https://atom.io", + releaseNotes: latest.releaseNotes + releaseName: "Atom #{latest.version}" + releaseDate: "" # NB: Squirrel doesn't provide this :( + updateUrl: "https://atom.io" quitAndUpdate: @quitAndInstall