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 a368082 commit 40dad0aCopy full SHA for 40dad0a
eng/tools/generator/cmd/v2/common/cmdProcessor.go
@@ -65,7 +65,11 @@ func ExecuteGoGenerate(path string) error {
65
lines := strings.Split(stderrBuffer.String(), "\n")
66
newLines := make([]string, 0, len(lines))
67
for _, line := range lines {
68
- if !strings.HasPrefix(strings.TrimSpace(line), "go: downloading") {
+ l := strings.TrimSpace(line)
69
+ if len(l) == 0 {
70
+ continue
71
+ }
72
+ if !strings.HasPrefix(l, "go: downloading") {
73
newLines = append(newLines, line)
74
}
75
0 commit comments