Make ty happy

This commit is contained in:
Kovid Goyal 2026-08-12 15:07:11 +05:30
parent 3f296b3213
commit cc51e89f22
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -250,7 +250,7 @@ def relative_path_if_possible(path: str, base: str) -> str:
return path
def format_selection_for_paste(paths: list[str], cwd: str, at_prompt: bool) -> str:
def format_selection_for_paste(paths: list[str], cwd: str | None, at_prompt: bool) -> str:
items = []
for path in paths:
if cwd: