Skip to content

Commit

Permalink
status: always show json (iterative#10253)
Browse files Browse the repository at this point in the history
  • Loading branch information
dberenbaum authored and BradyJ27 committed Apr 22, 2024
1 parent 44e62b8 commit 98c4dbc
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 98c4dbc

Please sign in to comment.