Skip to content

Commit

Permalink
fix: Fix gitignore issue (feast-dev#4674)
Browse files Browse the repository at this point in the history
fix: gitignore issue

Signed-off-by: Matt Green <emgeee@users.noreply.github.com>
  • Loading branch information
emgeee authored Oct 23, 2024
1 parent 0d45e95 commit 2807dfa
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 2807dfa

Please sign in to comment.