Skip to content

Commit a95c00a

Browse files
committed
chore: bump tsslint
1 parent 4a1a932 commit a95c00a

File tree

4 files changed

+40
-38
lines changed

4 files changed

+40
-38
lines changed

extensions/vscode/index.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -162,11 +162,10 @@ function launch(context: vscode.ExtensionContext) {
162162
command,
163163
args,
164164
{ isAsync: true, lowPriority: true },
165-
).then(res => {
166-
client.sendNotification('tsserver/response', [seq, res?.body]);
167-
}, () => {
168-
client.sendNotification('tsserver/response', [seq, undefined]);
169-
});
165+
).then(
166+
res => client.sendNotification('tsserver/response', [seq, res?.body]),
167+
() => client.sendNotification('tsserver/response', [seq, undefined]),
168+
);
170169
});
171170
client.start();
172171

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
"devDependencies": {
1919
"@lerna-lite/cli": "^4.1.2",
2020
"@lerna-lite/publish": "^4.1.2",
21-
"@tsslint/cli": "^2.0.1",
22-
"@tsslint/config": "^2.0.1",
23-
"@tsslint/eslint": "^2.0.1",
21+
"@tsslint/cli": "^2.0.4",
22+
"@tsslint/config": "^2.0.4",
23+
"@tsslint/eslint": "^2.0.4",
2424
"@typescript-eslint/eslint-plugin": "^8.19.0",
2525
"dprint": "^0.50.0",
2626
"typescript": "latest",

packages/language-server/tests/server.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,15 @@ export async function getLanguageServer(): Promise<{
4444
return null;
4545
});
4646
});
47-
serverHandle.connection.onNotification('tsserver/request', async ([id, command, args]) => {
48-
const res = await tsserver.message({
47+
serverHandle.connection.onNotification('tsserver/request', ([id, command, args]) => {
48+
tsserver.message({
4949
seq: seq++,
5050
command: command,
5151
arguments: args,
52-
});
53-
serverHandle!.connection.sendNotification('tsserver/response', [id, res.body]);
52+
}).then(
53+
res => serverHandle!.connection.sendNotification('tsserver/response', [id, res?.body]),
54+
() => serverHandle!.connection.sendNotification('tsserver/response', [id, undefined]),
55+
);
5456
});
5557

5658
await serverHandle.initialize(

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)