Meta: Use Optional[str] instead of str | None for python 3.9 compat
Some checks are pending
CI / macOS, arm64, Sanitizer_CI, Clang (push) Waiting to run
CI / Linux, x86_64, Fuzzers_CI, Clang (push) Waiting to run
CI / Linux, x86_64, Sanitizer_CI, GNU (push) Waiting to run
CI / Linux, x86_64, Sanitizer_CI, Clang (push) Waiting to run
Package the js repl as a binary artifact / macOS, arm64 (push) Waiting to run
Package the js repl as a binary artifact / Linux, x86_64 (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run

This commit is contained in:
Timothy Flynn 2025-06-10 13:43:51 -04:00 committed by Tim Flynn
commit 3a4f2faf2e
Notes: github-actions[bot] 2025-06-10 22:59:56 +00:00

View file

@ -303,7 +303,7 @@ def ensure_ladybird_source_dir() -> Path:
return ladybird_source_dir
def build_main(build_dir: Path, jobs: str | None, target: Optional[str] = None, args: Optional[list[str]] = None):
def build_main(build_dir: Path, jobs: Optional[str], target: Optional[str] = None, args: Optional[list[str]] = None):
build_args = ["ninja", "-C", str(build_dir)]
if not jobs: