mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-24 17:09:43 +00:00
Meta: Resolve pyright warnings in ladybird.py and helpers
This commit is contained in:
parent
564003b22a
commit
11f4b9c6ae
Notes:
github-actions[bot]
2025-08-07 10:58:33 +00:00
Author: https://github.com/trflynn89
Commit: 11f4b9c6ae
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5755
2 changed files with 7 additions and 2 deletions
|
|
@ -180,9 +180,11 @@ def pick_swift_compilers(platform: Platform, project_root: Path) -> tuple[Path,
|
|||
swiftly_toolchain_path = run_command(["swiftly", "use", "--print-location"], return_output=True, cwd=project_root)
|
||||
if not swiftly_toolchain_path:
|
||||
run_command(["swiftly", "install"], exit_on_failure=True, cwd=project_root)
|
||||
|
||||
swiftly_toolchain_path = run_command(
|
||||
["swiftly", "use", "--print-location"], return_output=True, exit_on_failure=True, cwd=project_root
|
||||
)
|
||||
assert swiftly_toolchain_path
|
||||
|
||||
swiftly_toolchain_path = Path(swiftly_toolchain_path.strip())
|
||||
swiftly_bin_dir = swiftly_toolchain_path.joinpath("usr", "bin")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue