Unnamed repository; edit this file 'description' to name the repository.
-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 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;