Skip to content

Commit 47510ac

Browse files
committed
fix(robot): corrected some type hint for python 3.8
1 parent 2dfc91b commit 47510ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/robot/src/robotcode/robot/utils/robot_path.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
def find_file_ex(
88
path: Union[Path, "PathLike[str]", str],
9-
basedir: Union[Path, PathLike[str], str] = ".",
9+
basedir: Union[Path, "PathLike[str]", str] = ".",
1010
file_type: Optional[str] = None,
1111
) -> str:
1212
from robot.errors import DataError
@@ -33,7 +33,7 @@ def find_file_ex(
3333

3434
def find_file(
3535
path: Union[Path, "PathLike[str]", str],
36-
basedir: Union[Path, PathLike[str], str] = ".",
36+
basedir: Union[Path, "PathLike[str]", str] = ".",
3737
file_type: Optional[str] = None,
3838
) -> str:
3939
return find_file_ex(path, basedir, file_type)

0 commit comments

Comments
 (0)