Skip to content

Commit 5da98d4

Browse files
committed
fix(get_config_dir) Fix typing with v1.16.1
src/vcspull/util.py:43: error: Incompatible return value type (got "Optional[Path]", expected "Path") [return-value]
1 parent 61f5cf9 commit 5da98d4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/vcspull/util.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ def get_config_dir() -> pathlib.Path:
3333
paths.append(pathlib.Path("~/.config/vcspull/"))
3434
paths.append(LEGACY_CONFIG_DIR)
3535

36-
path = None
3736
for path in paths:
3837
path = path.expanduser()
3938
if path.is_dir():

0 commit comments

Comments
 (0)