Skip to content

Commit 98c4dbc

Browse files
dberenbaumBradyJ27
authored andcommitted
status: always show json (iterative#10253)
1 parent 44e62b8 commit 98c4dbc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dvc/commands/status.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,13 @@ def run(self):
6565
logger.exception("")
6666
return 1
6767

68-
if self.args.quiet:
69-
return bool(st)
70-
7168
if self.args.json:
7269
ui.write_json(st)
7370
return 0
7471

72+
if self.args.quiet:
73+
return bool(st)
74+
7575
if st:
7676
self._show(st, indent)
7777
return 0

0 commit comments

Comments
 (0)