ukify: fix return value type of resolve_at_path()
Follow-up for eca003de2f.
This commit is contained in:
committed by
Daan De Meyer
parent
4bc7a54d75
commit
6e27477666
+1
-1
@@ -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:])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user