Skip to content

Commit 4e599ce

Browse files
authored
chore: use typer echo instead of print (#126)
use typer echo instead of print
1 parent 5ff5894 commit 4e599ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fundamend/commands/xml2json.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def _convert_to_json_file(xml_file_path: Path) -> Path:
3535
json_file_path = xml_file_path.with_suffix(".json")
3636
with open(json_file_path, encoding="utf-8", mode="w") as outfile:
3737
json.dump(out_dict, outfile, indent=True, ensure_ascii=False)
38-
print(f"Successfully converted {xml_file_path} file to JSON {json_file_path}")
38+
typer.echo(f"Successfully converted {xml_file_path} file to JSON {json_file_path}")
3939
return json_file_path
4040

4141

0 commit comments

Comments
 (0)