about summary refs log tree commit diff
path: root/editors/code/src
diff options
context:
space:
mode:
authorDavid Lattimore <dml@google.com>2020-07-24 22:23:14 +1000
committerDavid Lattimore <dml@google.com>2020-07-24 22:23:14 +1000
commit58680cb08ea535e1fb567416fa3466a744a01b99 (patch)
tree9ca1001a8d53bdcf651558d7527f3dffd7816a22 /editors/code/src
parent3dac31fe80b9d7279e87b94615b0d55805e83412 (diff)
downloadrust-58680cb08ea535e1fb567416fa3466a744a01b99.tar.gz
rust-58680cb08ea535e1fb567416fa3466a744a01b99.zip
SSR: Fix a typescript lint warning
Diffstat (limited to 'editors/code/src')
-rw-r--r--editors/code/src/commands.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/commands.ts b/editors/code/src/commands.ts
index 3ae995705f2..c21e5597cb2 100644
--- a/editors/code/src/commands.ts
+++ b/editors/code/src/commands.ts
@@ -190,7 +190,7 @@ export function ssr(ctx: Ctx): Cmd {
         if (!editor || !client) return;
 
         const position = editor.selection.active;
-        let textDocument = { uri: editor.document.uri.toString() };
+        const textDocument = { uri: editor.document.uri.toString() };
 
         const options: vscode.InputBoxOptions = {
             value: "() ==>> ()",