Skip to content

Commit 0304ed3

Browse files
committed
Fix .gitignore path
- Fixes #142
1 parent 4db6442 commit 0304ed3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

robotpy_installer/cli_init.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ def run(self, main_file: pathlib.Path, project_path: pathlib.Path):
4040
# Create .gitignore if it doesn't already exist
4141
gitignore_path = pyproject.gitignore_path(project_path)
4242
if not gitignore_path.exists():
43-
pyproject.write_default_gitignore(gitignore_path)
43+
pyproject.write_default_gitignore(project_path)
4444

4545
logger.info("Created %s", gitignore_path)

0 commit comments

Comments
 (0)