瀏覽代碼

Avoids opening the walkthrough to the side

main
Eric Amodio 1 年之前
父節點
當前提交
00b4d11bdf
共有 1 個檔案被更改,包括 1 行新增13 行删除
  1. +1
    -13
      src/commands/walkthroughs.ts

+ 1
- 13
src/commands/walkthroughs.ts 查看文件

@ -17,18 +17,6 @@ export class GetStartedCommand extends Command {
walkthroughId = undefined;
}
void openWalkthrough(extensionId, walkthroughId ?? 'gitlens.welcome');
}
}
@command()
export class OpenWalkthroughCommand extends Command {
constructor(private readonly container: Container) {
super(Commands.OpenWalkthrough);
}
execute(walkthroughAndStep?: string) {
const [walkthroughId, stepId] = walkthroughAndStep?.split('|') ?? 'gitlens.welcome';
void openWalkthrough(this.container.context.extension.id, walkthroughId, stepId);
void openWalkthrough(extensionId, walkthroughId ?? 'gitlens.welcome', undefined, false);
}
}

Loading…
取消
儲存