mirror of
https://github.com/atom/atom.git
synced 2026-02-18 02:21:43 -05:00
📝 release -> releases
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user