Skip to content

Commit

Permalink
Updated gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
harrrykp committed Aug 24, 2024
1 parent 9602b0d commit 1c952ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,5 @@ coverage.out

# Local environment files
.env

dist/
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ func readIgnoreFiles(dir string) (map[string]bool, error) {
ignoreFiles := []string{".gitignore", ".promptignore"}
ignorePatterns := make(map[string]bool)
ignorePatterns[".promptignore"] = true // Always ignore .promptignore file
ignorePatterns[".gitignore"] = true
for _, ignoreFile := range ignoreFiles {
filePath := filepath.Join(dir, ignoreFile)
if _, err := os.Stat(filePath); err == nil {
Expand Down

0 comments on commit 1c952ae

Please sign in to comment.