Skip to content

Commit 51c0240

Browse files
Jason3Sgithub-actions[bot]
authored andcommitted
ci: Workflow Bot -- Update ALL Dependencies
1 parent ace3261 commit 51c0240

File tree

3 files changed

+31
-31
lines changed

3 files changed

+31
-31
lines changed

pnpm-lock.yaml

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/vscode/TextDocument.test.ts

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -74,24 +74,24 @@ describe('Validate TextDocument', () => {
7474

7575
test('lineAt', async () => {
7676
const doc = createDoc();
77-
78-
const line1 = doc.lineAt(1)
79-
expect(line1.lineNumber).toEqual(1)
80-
expect(line1.text).toEqual('Line 1')
81-
expect(line1.firstNonWhitespaceCharacterIndex).toEqual(0)
82-
expect(line1.isEmptyOrWhitespace).toEqual(false)
83-
84-
const line3 = doc.lineAt(3)
85-
expect(line3.lineNumber).toEqual(3)
86-
expect(line3.text).toEqual('')
87-
expect(line3.firstNonWhitespaceCharacterIndex).toEqual(0)
88-
expect(line3.isEmptyOrWhitespace).toEqual(true)
89-
90-
const line4 = doc.lineAt(4)
91-
expect(line4.lineNumber).toEqual(4)
92-
expect(line4.text).toEqual(' Line 4')
93-
expect(line4.firstNonWhitespaceCharacterIndex).toEqual(2)
94-
expect(line4.isEmptyOrWhitespace).toEqual(false)
77+
78+
const line1 = doc.lineAt(1);
79+
expect(line1.lineNumber).toEqual(1);
80+
expect(line1.text).toEqual('Line 1');
81+
expect(line1.firstNonWhitespaceCharacterIndex).toEqual(0);
82+
expect(line1.isEmptyOrWhitespace).toEqual(false);
83+
84+
const line3 = doc.lineAt(3);
85+
expect(line3.lineNumber).toEqual(3);
86+
expect(line3.text).toEqual('');
87+
expect(line3.firstNonWhitespaceCharacterIndex).toEqual(0);
88+
expect(line3.isEmptyOrWhitespace).toEqual(true);
89+
90+
const line4 = doc.lineAt(4);
91+
expect(line4.lineNumber).toEqual(4);
92+
expect(line4.text).toEqual(' Line 4');
93+
expect(line4.firstNonWhitespaceCharacterIndex).toEqual(2);
94+
expect(line4.isEmptyOrWhitespace).toEqual(false);
9595
});
9696
});
9797

src/vscode/TextDocument.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export class MockTextDocument implements vscode.TextDocument {
5050
* See: https://github.com/microsoft/vscode/blob/56222f3441914d033791e7e7a09b99423864751b/src/vs/workbench/api/common/extHostDocumentData.ts#L284-L291
5151
*/
5252
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
53-
const firstNonWhitespaceCharacterIndex = /^(\s*)/.exec(text)![1].length
53+
const firstNonWhitespaceCharacterIndex = /^(\s*)/.exec(text)![1].length;
5454
return {
5555
lineNumber,
5656
text,

0 commit comments

Comments
 (0)