mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
Update dvc/commands/plots.py
This commit is contained in:
committed by
Ruslan Kuprieiev
parent
b7aea414e6
commit
37c8ef3406
@@ -232,7 +232,7 @@ class CmdPlotsTemplates(CmdBase):
|
||||
if target:
|
||||
for template in TEMPLATES:
|
||||
if target == template.DEFAULT_NAME:
|
||||
ui.write(json.dumps(template.DEFAULT_CONTENT))
|
||||
ui.write_json(template.DEFAULT_CONTENT)
|
||||
return 0
|
||||
raise InvalidArgumentError(f"Unexpected template: {target}.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user