mirror of
https://github.com/servo/servo.git
synced 2025-06-08 08:33:26 +00:00
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.
This commit is contained in:
parent
f5d40a473b
commit
f78d53daaa
1 changed files with 1 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue