status: always show json (#10253)

This commit is contained in:
Dave Berenbaum
2024-01-24 03:09:02 +02:00
committed by GitHub
parent ba06c0504a
commit 20edd72a43
+3 -3
View File
@@ -65,13 +65,13 @@ class CmdDataStatus(CmdDataBase):
logger.exception("")
return 1
if self.args.quiet:
return bool(st)
if self.args.json:
ui.write_json(st)
return 0
if self.args.quiet:
return bool(st)
if st:
self._show(st, indent)
return 0