From 0c60dc8411aa69b127122f96967d726996001649 Mon Sep 17 00:00:00 2001 From: Chenjie Shi Date: Fri, 27 Sep 2024 10:20:10 +0800 Subject: [PATCH] change filtering words (#23507) --- eng/tools/generator/cmd/v2/common/cmdProcessor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/tools/generator/cmd/v2/common/cmdProcessor.go b/eng/tools/generator/cmd/v2/common/cmdProcessor.go index f3e64f595a81..b7018d48d623 100644 --- a/eng/tools/generator/cmd/v2/common/cmdProcessor.go +++ b/eng/tools/generator/cmd/v2/common/cmdProcessor.go @@ -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 the diagnostic output." { + newErrMsgs[0] == "Diagnostics were reported during compilation. Use the `--debug` flag to see if there is warning diagnostic output." { newErrMsgs = newErrMsgs[1:] errDiags := getErrorDiagnostics(strings.Split(stdoutBuffer.String(), "\n"))