From 5523ae9d54a3a1350af26888121b70e090cd1363 Mon Sep 17 00:00:00 2001 From: Casper Welzel Andersen Date: Wed, 6 Jul 2022 15:21:56 +0200 Subject: [PATCH] Further update output --- tasks.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tasks.py b/tasks.py index 65e383a8..f7f4ebfd 100644 --- a/tasks.py +++ b/tasks.py @@ -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 !") @@ -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 !")