Skip to content

Commit a74c341

Browse files
committed
remove print statements
1 parent 650cd20 commit a74c341

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

.generator/cli.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -517,15 +517,10 @@ def _copy_file_to_docs(output: str, library_id: str, filename: str):
517517
docs_path = f"{output}/{path_to_library}/docs"
518518
destination_path = f"{docs_path}/{filename}"
519519

520-
print(f"[_copy_file_to_docs] source_path: {source_path}")
521-
print(f"[_copy_file_to_docs] docs_path: {docs_path}")
522-
print(f"[_copy_file_to_docs] destination_path: {destination_path}")
523-
print(f"[_copy_file_to_docs] os.path.lexists(source_path): {os.path.lexists(source_path)}")
524520

525521
# If the source file doesn't exist (not even as a broken symlink),
526522
# there's nothing to copy.
527523
if not os.path.lexists(source_path):
528-
print(f"[_copy_file_to_docs] Source file does not exist, returning.")
529524
return
530525

531526
content = _read_text_file(source_path)
@@ -566,13 +561,11 @@ def _copy_changelog_to_docs(output: str, library_id: str):
566561
"""
567562
path_to_library = f"packages/{library_id}"
568563
source_path = f"{output}/{path_to_library}/CHANGELOG.md"
569-
print(f"[_copy_changelog_to_docs] Initial source_path: {source_path}")
570564

571565
# If the source CHANGELOG.md doesn't exist, create it at the source location.
572566
if not os.path.lexists(source_path):
573567
content = "# Changelog\n"
574568
_write_text_file(source_path, content)
575-
print(f"[_copy_changelog_to_docs] Created CHANGELOG.md at: {source_path}")
576569

577570
# Now, copy the (guaranteed to exist) source CHANGELOG.md to the docs directory.
578571
_copy_file_to_docs(output, library_id, "CHANGELOG.md")

0 commit comments

Comments
 (0)