Skip to content

Commit 03580af

Browse files
committed
chore: use hidden config in hierarchy
1 parent 58939eb commit 03580af

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/file_keeper/core/storage.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1032,9 +1032,10 @@ def get_storage(name: str, settings: dict[str, Any] | None = None) -> Storage:
10321032
path = pathlib.Path().absolute()
10331033

10341034
while len(path.parts) > 1:
1035-
config_file = str(path / "file-keeper.json")
1035+
config_file = str(path / ".file-keeper.json")
10361036
if os.path.exists(config_file):
10371037
break
1038+
10381039
path = path.parent
10391040
else:
10401041
config_file = None

0 commit comments

Comments
 (0)