fix(repos): ssh url 校验规则修改,不强制要求仅有用户名时要求追加:分隔。
This commit is contained in:
@ -31,7 +31,7 @@ export class ReposService {
|
||||
// TODO: 获取锁,失败抛错。
|
||||
}
|
||||
|
||||
async getGit(project: Project, subDir?: string) {
|
||||
async getGit(project: Project, subDir = 'default') {
|
||||
const workspaceRoot = this.getWorkspaceRoot(project, subDir);
|
||||
await this.lockWorkspace(workspaceRoot);
|
||||
|
||||
|
Reference in New Issue
Block a user