Skip to content

Commit

Permalink
style: Fix 'Exclude' typo (Boeing#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperupcall authored and shiina4119 committed Oct 4, 2024
1 parent ba4b88a commit aeef837
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/finder/fsfinder.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ func WithDepth(depthVal int) FSFinderOptions {
}

func FileSystemFinderInit(opts ...FSFinderOptions) *FileSystemFinder {
var defaultExludeDirs []string
var defaultExcludeDirs []string
defaultPathRoots := []string{"."}

fsfinder := &FileSystemFinder{
PathRoots: defaultPathRoots,
FileTypes: filetype.FileTypes,
ExcludeDirs: defaultExludeDirs,
ExcludeDirs: defaultExcludeDirs,
}

for _, opt := range opts {
Expand Down

0 comments on commit aeef837

Please # to comment.