From c43cfefdd868c92f60d936e8958c0980428a0679 Mon Sep 17 00:00:00 2001 From: Adenine Date: Mon, 19 Jun 2023 00:27:53 -0400 Subject: [PATCH] fix typescript return path warning --- editors/code/src/commands.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editors/code/src/commands.ts b/editors/code/src/commands.ts index 1e74158b82..052e391824 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;