Skip to content

Commit be2a789

Browse files
committed
feat: add osw_files to generated .gitignore
not sure if this is the right location Refs: 83
1 parent b0d5435 commit be2a789

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎src/osw/auth.py‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,11 @@ def save_credentials_to_file(
282282

283283
# Creating or updating .gitignore file in the working directory
284284
cwd = Path.cwd()
285-
potential_fp = [cwd / ".gitignore", cwd.parent / ".gitignore"]
285+
potential_fp = [
286+
cwd / "osw_files",
287+
cwd / ".gitignore",
288+
cwd.parent / ".gitignore",
289+
]
286290
write_to_fp = potential_fp[0]
287291
for fp in potential_fp:
288292
if fp.exists():

0 commit comments

Comments
 (0)