ukify: fix return value type of resolve_at_path()

Follow-up for eca003de2f.
This commit is contained in:
Yu Watanabe
2024-10-10 08:02:13 +02:00
committed by Daan De Meyer
parent 4bc7a54d75
commit 6e27477666
+1 -1
View File
@@ -1801,7 +1801,7 @@ def create_parser() -> argparse.ArgumentParser:
return p
def resolve_at_path(value: Optional[str]) -> str:
def resolve_at_path(value: Optional[str]) -> Union[Path, str, None]:
if value and value.startswith('@'):
return Path(value[1:])