Skip to content

Commit c34e6f7

Browse files
authored
fix read .gitstack path (#5)
1 parent a9870f3 commit c34e6f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitstack.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
def read_gitstack_file() -> MutableMapping[str, str]:
2121
"""Read the gitstack file at the current git root"""
2222
gitstack_path = git_get_root() / GITSTACK_FILE
23-
if not Path(GITSTACK_FILE).is_file():
23+
if not Path(gitstack_path).is_file():
2424
return {}
2525
with open(gitstack_path) as f:
2626
return json.loads(f.read())

0 commit comments

Comments
 (0)