We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47806fd commit 0b804cdCopy full SHA for 0b804cd
words_extractor_go/main.go
@@ -40,9 +40,8 @@ func without_channels() {
40
paths, _ := doublestar.Glob("../data/**/*.yml")
41
42
items_count := len(paths)
43
-
+ wg.Add(items_count)
44
for _, path := range paths {
45
- wg.Add(1)
46
go processFile(&wg, outdir, path, false)
47
}
48
wg.Wait()
0 commit comments