We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e92682 commit 8895f46Copy full SHA for 8895f46
extensions/git/src/diagnostics.ts
@@ -190,7 +190,7 @@ export class GitCommitInputBoxCodeActionsProvider implements CodeActionProvider
190
const lineLengthThreshold = line === 0 ? inputValidationSubjectLength ?? inputValidationLength : inputValidationLength;
191
192
const lineSegments: string[] = [];
193
- const lineText = document.lineAt(line).text;
+ const lineText = document.lineAt(line).text.trim();
194
195
let position = 0;
196
while (lineText.length - position > lineLengthThreshold) {
0 commit comments