Skip to content

Commit 20edd72

Browse files
authored
status: always show json (#10253)
1 parent ba06c05 commit 20edd72

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: 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)