Skip to content

Commit 390f1da

Browse files
committed
Removed trailing whitespace in diagnostic line output. This addresses #10726.
1 parent fd0a5e8 commit 390f1da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/pyright-internal/src/pyright.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1283,7 +1283,7 @@ function reportDiagnosticsAsText(
12831283
console.info(
12841284
`${errorCount.toString()} ${errorCount === 1 ? 'error' : 'errors'}, ` +
12851285
`${warningCount.toString()} ${warningCount === 1 ? 'warning' : 'warnings'}, ` +
1286-
`${informationCount.toString()} ${informationCount === 1 ? 'information' : 'informations'} `
1286+
`${informationCount.toString()} ${informationCount === 1 ? 'information' : 'informations'}`
12871287
);
12881288

12891289
return {

0 commit comments

Comments
 (0)