From f78d53daaa6ff1235a80684314cb39ea9996739a Mon Sep 17 00:00:00 2001 From: Martin Robinson Date: Tue, 3 Oct 2023 12:23:02 +0200 Subject: [PATCH] Adjust the missing taplo message (#30473) The current message doesn't have a line break where you would expect it to and instead has a gap due to the indentation of the code in Python. --- python/servo/testing_commands.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py index b31ed9c7be5..196153b72d1 100644 --- a/python/servo/testing_commands.py +++ b/python/servo/testing_commands.py @@ -60,9 +60,7 @@ TEST_SUITES_BY_PREFIX = {path: k for k, v in TEST_SUITES.items() if "paths" in v def format_toml_files_with_taplo(check_only: bool = True) -> int: taplo = shutil.which("taplo") if taplo is None: - print("Taplo is not installed.") - print("It should be installed using `./mach bootstrap`, \ - but it can be installed manually using `cargo install taplo-cli --locked`") + print("Could not find `taplo`. Run `./mach bootstrap` or `cargo install taplo-cli --locked`") return 1 if check_only: