Skip to content

Commit da9b81a

Browse files
Escape LSP request name to avoid redacted (#1241)
1 parent 3b5df0c commit da9b81a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/daemon/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ class LSPUsageStats {
331331
if (Object.keys(this.totalRequests).length) {
332332
const data: any = {};
333333
for (const key of Object.keys(this.totalRequests)) {
334-
const simpleKey = this.getSimpleKey(key);
334+
const simpleKey = escapeLspRequestName(this.getSimpleKey(key));
335335
data[simpleKey] = [this.totalRequests[key],
336336
this.timeoutRequests[key] || 0,
337337
this.errorRequests[key] || 0,

0 commit comments

Comments
 (0)