refresh app action: not returning an error when there is no update available

This commit is contained in:
Vinicius Moreira
2020-08-26 12:57:49 -03:00
parent 50893bff99
commit 1f68c9c9d4
2 changed files with 2 additions and 0 deletions

View File

@@ -84,6 +84,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Snap
- not able to install classic Snaps due to Ubuntu's old Snaps API shutdown
- some environment variables are not available during the common operations (install, upgrade, downgrade, uninstall, launch)
- refresh app action: not returning an error when there is no update available
- Web
- some environment variable are not available during the launch process
- UI

View File

@@ -37,6 +37,7 @@ def downgrade_and_stream(app_name: str, root_password: str) -> SimpleProcess:
def refresh_and_stream(app_name: str, root_password: str) -> SimpleProcess:
return SimpleProcess(cmd=[BASE_CMD, 'refresh', app_name],
root_password=root_password,
error_phrases={'no updates available'},
shell=True)