Skip to content

Commit

Permalink
fix gitignore issue
Browse files Browse the repository at this point in the history
  • Loading branch information
emgeee committed Oct 23, 2024
1 parent eecbce1 commit 882be05
Show file tree
Hide file tree
Showing 11 changed files with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sdk/python/feast/repo_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,10 @@ def init_repo(repo_name: str, template: str):
raise IOError(f"Could not find template {template}")
copytree(template_path, str(repo_path), dirs_exist_ok=True)

# Rename gitignore files back to .gitignore
for gitignore_path in repo_path.rglob("gitignore"):
gitignore_path.rename(gitignore_path.with_name(".gitignore"))

# Seed the repository
bootstrap_path = repo_path / "bootstrap.py"
if os.path.exists(bootstrap_path):
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 882be05

Please sign in to comment.