Skip to content

Commit

Permalink
Removes an unnecessary check.
Browse files Browse the repository at this point in the history
  • Loading branch information
tamasd committed Mar 10, 2018
1 parent c655182 commit 2538773
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions testrunner.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,9 @@ func main() {
start := time.Now()

filepath.Walk(*root, func(path string, info os.FileInfo, err error) error {
if !info.IsDir() {
if matcher.MatchString(path) {
wg.Add(1)
input <- path
}
if matcher.MatchString(path) {
wg.Add(1)
input <- path
}

return nil
Expand Down

0 comments on commit 2538773

Please sign in to comment.