+4
-4
knotserver/internal.go
+4
-4
knotserver/internal.go
···
242
242
return err
243
243
}
244
244
245
+
for _, e := range compiler.Diagnostics.Errors {
246
+
*clientMsgs = append(*clientMsgs, e.String())
247
+
}
248
+
245
249
if pushOptions.verboseCi {
246
250
if compiler.Diagnostics.IsEmpty() {
247
251
*clientMsgs = append(*clientMsgs, "success: pipeline compiled with no diagnostics")
248
-
}
249
-
250
-
for _, e := range compiler.Diagnostics.Errors {
251
-
*clientMsgs = append(*clientMsgs, e.String())
252
252
}
253
253
254
254
for _, w := range compiler.Diagnostics.Warnings {