refine typespec release tool (#23735)
This commit is contained in:
Родитель
353cd4e149
Коммит
f9b03ff28f
|
@ -243,7 +243,7 @@ func ExecuteTspClient(path string, args ...string) error {
|
|||
|
||||
// filter diagnostic errors
|
||||
if len(newErrMsgs) >= 1 &&
|
||||
newErrMsgs[0] == "Diagnostics were reported during compilation. Use the `--debug` flag to see if there is warning diagnostic output." {
|
||||
strings.HasPrefix(newErrMsgs[0], "Diagnostics were reported during compilation.") {
|
||||
newErrMsgs = newErrMsgs[1:]
|
||||
|
||||
errDiags := getErrorDiagnostics(strings.Split(stdoutBuffer.String(), "\n"))
|
||||
|
|
Загрузка…
Ссылка в новой задаче