Skip to content

Commit

Permalink
Fix pathlib.path typo.
Browse files Browse the repository at this point in the history
Closes #99

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
  • Loading branch information
s0undt3ch committed Feb 14, 2022
1 parent 74ce512 commit 42def59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog/99.bugfix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix ``pathlib.path`` typo
2 changes: 1 addition & 1 deletion src/saltfactories/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ def cast_to_pathlib_path(value):
try:
return pathlib.Path(value.strpath)
except AttributeError:
return pathlib.path(str(value))
return pathlib.Path(str(value))

0 comments on commit 42def59

Please sign in to comment.