diff options
| author | Adenine <adenine.dev@gmail.com> | 2023-06-19 00:27:53 -0400 |
|---|---|---|
| committer | Adenine <adenine.dev@gmail.com> | 2023-07-07 23:09:41 -0400 |
| commit | c43cfefdd868c92f60d936e8958c0980428a0679 (patch) | |
| tree | 868b6b922b32757af9e162d0b61cf4c5bd6e8687 | |
| parent | de5e3cf7459b955aa729bcbc6150655edf23e790 (diff) | |
| download | rust-c43cfefdd868c92f60d936e8958c0980428a0679.tar.gz rust-c43cfefdd868c92f60d936e8958c0980428a0679.zip | |
fix typescript return path warning
| -rw-r--r-- | editors/code/src/commands.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/commands.ts b/editors/code/src/commands.ts index 1e74158b821..052e3918241 100644 --- a/editors/code/src/commands.ts +++ b/editors/code/src/commands.ts @@ -1133,7 +1133,7 @@ export function linkToCommand(_: Ctx): Cmd { export function viewMemoryLayout(ctx: CtxInit): Cmd { return async () => { const editor = vscode.window.activeTextEditor; - if (!editor) return ""; + if (!editor) return; const client = ctx.client; const position = editor.selection.active; |
