aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/commands.ts
diff options
context:
space:
mode:
Diffstat (limited to 'editors/code/src/commands.ts')
-rw-r--r--editors/code/src/commands.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/editors/code/src/commands.ts b/editors/code/src/commands.ts
index 3469fe5ec..4170b9ccb 100644
--- a/editors/code/src/commands.ts
+++ b/editors/code/src/commands.ts
@@ -130,7 +130,7 @@ export function joinLines(ctx: Ctx): Cmd {
130 builder.replace(edit.range, edit.newText); 130 builder.replace(edit.range, edit.newText);
131 }); 131 });
132 }) 132 })
133 .then(() => {}, console.error); 133 .then(() => { }, console.error);
134 }; 134 };
135} 135}
136 136
@@ -248,7 +248,7 @@ export function ssr(ctx: Ctx): Cmd {
248 248
249 await vscode.workspace.applyEdit(client.protocol2CodeConverter.asWorkspaceEdit(edit)); 249 await vscode.workspace.applyEdit(client.protocol2CodeConverter.asWorkspaceEdit(edit));
250 }) 250 })
251 .then(() => {}, console.error); 251 .then(() => { }, console.error);
252 }; 252 };
253} 253}
254 254
@@ -468,7 +468,7 @@ export function showReferences(ctx: Ctx): Cmd {
468 client.protocol2CodeConverter.asPosition(position), 468 client.protocol2CodeConverter.asPosition(position),
469 locations.map(client.protocol2CodeConverter.asLocation), 469 locations.map(client.protocol2CodeConverter.asLocation),
470 ) 470 )
471 .then(() => {}, console.error); 471 .then(() => { }, console.error);
472 } 472 }
473 }; 473 };
474} 474}
@@ -481,7 +481,7 @@ export function applyActionGroup(_ctx: Ctx): Cmd {
481 'rust-analyzer.resolveCodeAction', 481 'rust-analyzer.resolveCodeAction',
482 selectedAction.arguments, 482 selectedAction.arguments,
483 ) 483 )
484 .then(() => {}, console.error); 484 .then(() => { }, console.error);
485 }; 485 };
486} 486}
487 487
@@ -515,7 +515,7 @@ export function openDocs(ctx: Ctx): Cmd {
515 515
516 if (doclink != null) { 516 if (doclink != null) {
517 vscode.commands.executeCommand("vscode.open", vscode.Uri.parse(doclink)) 517 vscode.commands.executeCommand("vscode.open", vscode.Uri.parse(doclink))
518 .then(() => {}, console.error); 518 .then(() => { }, console.error);
519 } 519 }
520 }; 520 };
521 521