mirror of
https://github.com/runcitadel/core.git
synced 2024-11-11 16:30:38 +00:00
Also return app names in list-updates
This commit is contained in:
parent
c7342afafb
commit
47e589ade8
|
@ -203,13 +203,13 @@ def checkUpdateAvailable(name: str):
|
|||
return False
|
||||
|
||||
def getAvailableUpdates():
|
||||
availableUpdates = []
|
||||
availableUpdates = {}
|
||||
apps = findAndValidateApps(appsDir)
|
||||
for app in apps:
|
||||
try:
|
||||
checkResult = checkUpdateAvailable(app)
|
||||
if checkResult:
|
||||
availableUpdates.append(checkResult)
|
||||
availableUpdates[app] = checkResult
|
||||
except Exception:
|
||||
print("Warning: Can't check app {} yet".format(app), file=sys.stderr)
|
||||
return availableUpdates
|
||||
|
|
Loading…
Reference in New Issue
Block a user