Skip to content

Commit 0c60dc8

Browse files
authored
change filtering words (Azure#23507)
1 parent 223ca6b commit 0c60dc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eng/tools/generator/cmd/v2/common/cmdProcessor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ func ExecuteTspClient(path string, args ...string) error {
243243

244244
// filter diagnostic errors
245245
if len(newErrMsgs) >= 1 &&
246-
newErrMsgs[0] == "Diagnostics were reported during compilation. Use the `--debug` flag to see the diagnostic output." {
246+
newErrMsgs[0] == "Diagnostics were reported during compilation. Use the `--debug` flag to see if there is warning diagnostic output." {
247247
newErrMsgs = newErrMsgs[1:]
248248

249249
errDiags := getErrorDiagnostics(strings.Split(stdoutBuffer.String(), "\n"))

0 commit comments

Comments
 (0)