From c43cfefdd868c92f60d936e8958c0980428a0679 Mon Sep 17 00:00:00 2001 From: Adenine Date: Mon, 19 Jun 2023 00:27:53 -0400 Subject: fix typescript return path warning --- editors/code/src/commands.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editors/code/src') 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; -- cgit 1.4.1-3-g733a5