Skip to content

Commit 2ba4753

Browse files
bmonkmanzthomas
authored andcommitted
Fix race condition due to not waiting on waitgroup (#82)
1 parent 06ec51e commit 2ba4753

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/generate/generate_helper.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,6 @@ func GenerateArtifactsHelper(t *templator.Templator, cfg *config.Commit0Config,
7171
log.Println(aurora.Yellow(emoji.Sprintf(":warning: Missing React environment variables, skipping generation")))
7272
}
7373
}
74+
wg.Wait()
7475

7576
}

0 commit comments

Comments
 (0)