diff --git a/src/browser/auto-updater-win32.coffee b/src/browser/auto-updater-win32.coffee index 4790f5bb6..5272704a6 100644 --- a/src/browser/auto-updater-win32.coffee +++ b/src/browser/auto-updater-win32.coffee @@ -38,7 +38,7 @@ class AutoUpdater return callback(error) try - # Last line of output is the JSON details about the release + # Last line of output is the JSON details about the releases [json] = stdout.trim().split('\n').reverse() update = JSON.parse(json)?.releasesToApply?.pop?() catch error