aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2023-10-03 12:23:02 +0200
committerGitHub <noreply@github.com>2023-10-03 10:23:02 +0000
commitf78d53daaa6ff1235a80684314cb39ea9996739a (patch)
treef187b57db7d24d86f299472fc3ae1c937cd877e1
parentf5d40a473b677960b5873160a6830fc1274dddc3 (diff)
downloadservo-f78d53daaa6ff1235a80684314cb39ea9996739a.tar.gz
servo-f78d53daaa6ff1235a80684314cb39ea9996739a.zip
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.
-rw-r--r--python/servo/testing_commands.py4
1 files changed, 1 insertions, 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: