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