mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-01 23:08:43 +01:00
plots: avoid printing anything on --json output (#9144)
This commit is contained in:
@@ -112,7 +112,7 @@ class CmdPlots(CmdBase):
|
||||
props=self._props(),
|
||||
)
|
||||
|
||||
if not plots_data:
|
||||
if not plots_data and not self.args.json:
|
||||
ui.error_write(
|
||||
"No plots were loaded, visualization file will not be created."
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user