Skip to content

Commit

Permalink
Try to make mypy happy.
Browse files Browse the repository at this point in the history
  • Loading branch information
hiker committed Nov 21, 2024
1 parent fc19283 commit 730a824
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/fab/tools/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ def exec(self, command: Union[str, List[Union[Path, str]]]) -> str:
:returns: stdout of the result.
'''
# Make mypy happy:
params: List[Union[str, Path]]
if isinstance(command, str):
params = ["-c", command]
else:
Expand Down

0 comments on commit 730a824

Please sign in to comment.