Skip to content

Commit c18c563

Browse files
committed
fix failing tests
1 parent 5d95fe1 commit c18c563

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/tomato/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ def parse_args(parser, verbose, is_tomato=False):
4545
if "func" in args:
4646
ret = args.func(**vars(args), verbosity=verbosity, context=context, **kwargs)
4747
if args.yaml:
48-
ret.data.model_dump()
48+
# if ret.data is not None:
49+
# ret.data.model_dump()
4950
print(yaml.dump(ret.model_dump()))
5051
else:
5152
print(f"{'Success' if ret.success else 'Failure'}: {ret.msg}")

0 commit comments

Comments
 (0)