Skip to content

Commit

Permalink
status: always show json (#10253)
Browse files Browse the repository at this point in the history
  • Loading branch information
dberenbaum authored Jan 24, 2024
1 parent ba06c05 commit 20edd72
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dvc/commands/status.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@ def run(self):
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
Expand Down

0 comments on commit 20edd72

Please sign in to comment.