Skip to content

Commit

Permalink
chore(README.md): add **/*.pb.go to the list of excluded directories …
Browse files Browse the repository at this point in the history
…in the search

feat(finder.go): add **/*.pb.go to the list of excluded directories in the search to avoid searching generated protobuf files
  • Loading branch information
bounoable committed May 8, 2023
1 parent 78bbee2 commit 9cc6466
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ Excluded from the search are by default:
- `**/testdata/**`
- `**/test/**`
- `**/tests/**`
- `**/*.pb.go`

## CLI options

Expand Down
1 change: 1 addition & 0 deletions find/finder.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ var (
"**/testdata/**", // tests
"**/test/**", // tests
"**/tests/**", // tests
"**/*.pb.go", // generated protobufs
}

// Default is a predefined instance of the Options struct with commonly used
Expand Down

0 comments on commit 9cc6466

Please sign in to comment.