Upgrade notice should not be displayed when occ is run with --output=json #8092
Labels
2. developing
Work in progress
enhancement
feature: install and update
feature: occ
good first issue
Small tasks with clear documentation about how and in which place you need to fix things in.
Steps to reproduce
php occ app:list --output=json
Expected behaviour
Everything should be output as a JSON string. Eg:
Actual behaviour
The notice about a required update is shown that breaks the json text. Eg:
If you try to parse the command output as json, it will fail. Perhaps, there could be an extra json key that contains the notice.
The text was updated successfully, but these errors were encountered: