Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit c43cfef

Browse files
committed
fix typescript return path warning
1 parent de5e3cf commit c43cfef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editors/code/src/commands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1133,7 +1133,7 @@ export function linkToCommand(_: Ctx): Cmd {
11331133
export function viewMemoryLayout(ctx: CtxInit): Cmd {
11341134
return async () => {
11351135
const editor = vscode.window.activeTextEditor;
1136-
if (!editor) return "";
1136+
if (!editor) return;
11371137
const client = ctx.client;
11381138

11391139
const position = editor.selection.active;

0 commit comments

Comments
 (0)