Skip to content

Commit

Permalink
Further update output
Browse files Browse the repository at this point in the history
  • Loading branch information
CasperWA committed Jul 6, 2022
1 parent 0ad96bf commit 5523ae9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,8 +420,8 @@ def write_file(full_path: Path, content: str) -> None:
)
if result.stdout:
sys.exit(
"\u27b0 The following files have been changed/added:\n\n"
f"{result.stdout}\n Please stage them: git add "
"\u27b0 The following files have been changed/added/removed:\n\n"
f"{result.stdout}\nPlease stage them:\n git add "
f"{docs_api_ref_dir.relative_to(basis_dir / repo_folder)}"
)
print("\u2714 No changes - your API reference documentation is up-to-date !")
Expand Down Expand Up @@ -507,7 +507,7 @@ def create_docs_index( # pylint: disable=too-many-locals
)
if result.stdout:
sys.exit(
f"\u27b0 The landing page has been updated.\n Please stage it:\n\n"
f" git add {docs_index.relative_to(basis_dir / repo_folder)}"
f"\u27b0 The landing page has been updated.\n\nPlease stage it:\n\n"
f" git add {docs_index.relative_to(basis_dir / repo_folder)}"
)
print("\u2714 No changes - your landing page is up-to-date !")

0 comments on commit 5523ae9

Please sign in to comment.