Skip to content

Commit

Permalink
add todo note
Browse files Browse the repository at this point in the history
  • Loading branch information
hay-kot committed Aug 2, 2022
1 parent 2c077fa commit 251fe39
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gofind/finder.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ func (fdr *Finder) Find(path []string, glob string) ([]string, error) {
finderWg.Wait()
close(results)

// TODO: Do I need this or can I use the original wait group?
collectWg.Wait()
return matches, nil
}

0 comments on commit 251fe39

Please sign in to comment.