diff options
author | Veetaha <[email protected]> | 2020-02-02 19:12:59 +0000 |
---|---|---|
committer | Veetaha <[email protected]> | 2020-02-02 19:12:59 +0000 |
commit | 420462421d87a05c926501f8d4235f7660217924 (patch) | |
tree | 681e88118603403c70de2e92d2a3cf3502bff2a0 /editors/code/src/commands | |
parent | d06e02dd13e7cf10d53203620592aa0e85d808c0 (diff) |
vscode extension cleanup: migrate to prefer-const tslint rule
Diffstat (limited to 'editors/code/src/commands')
-rw-r--r-- | editors/code/src/commands/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/commands/index.ts b/editors/code/src/commands/index.ts index dc075aa82..4501809e2 100644 --- a/editors/code/src/commands/index.ts +++ b/editors/code/src/commands/index.ts | |||
@@ -21,7 +21,7 @@ function collectGarbage(ctx: Ctx): Cmd { | |||
21 | 21 | ||
22 | function showReferences(ctx: Ctx): Cmd { | 22 | function showReferences(ctx: Ctx): Cmd { |
23 | return (uri: string, position: lc.Position, locations: lc.Location[]) => { | 23 | return (uri: string, position: lc.Position, locations: lc.Location[]) => { |
24 | let client = ctx.client; | 24 | const client = ctx.client; |
25 | if (client) { | 25 | if (client) { |
26 | vscode.commands.executeCommand( | 26 | vscode.commands.executeCommand( |
27 | 'editor.action.showReferences', | 27 | 'editor.action.showReferences', |