浏览代码

Removes redundant folder prompt

main
Ramin Tadayon 1年前
父节点
当前提交
995dd5f272
找不到此签名对应的密钥 GPG 密钥 ID: 79D60DDE3DFB95F5
共有 1 个文件被更改,包括 0 次插入11 次删除
  1. +0
    -11
      src/plus/workspaces/workspacesService.ts

+ 0
- 11
src/plus/workspaces/workspacesService.ts 查看文件

@ -262,17 +262,6 @@ export class WorkspacesService implements Disposable {
if (workspace == null) return;
if (workspace.repositories == null || workspace.repositories.length === 0) return;
const parentUri = (
await window.showOpenDialog({
title: `Choose a folder containing the repositories in this workspace`,
canSelectFiles: false,
canSelectFolders: true,
canSelectMany: false,
})
)?.[0];
if (parentUri == null || cancellation?.isCancellationRequested) return;
const foundRepos = await this.getRepositoriesInParentFolder(cancellation);
if (foundRepos == null || foundRepos.length === 0 || cancellation?.isCancellationRequested) return;

正在加载...
取消
保存