Skip to content

Commit ccfd7e8

Browse files
committed
fix
1 parent 676f014 commit ccfd7e8

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
@@ -242,7 +242,7 @@ func ExecuteTspClient(path string, args ...string) error {
242242
}
243243

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

0 commit comments

Comments
 (0)