fix: workspace 本地仓库目录修改为:./workspace/{workspace_id}
This commit is contained in:
@@ -74,11 +74,11 @@ public class GitServiceImpl implements IGitService {
|
||||
|
||||
/**
|
||||
* get repository path
|
||||
* path= {webRootPath}/workspeace/{workspace.name}
|
||||
* path= {webRootPath}/workspace/{workspace.id}
|
||||
*/
|
||||
private File getRepoDirPath(String workspaceId) {
|
||||
WorkspaceEntity workspace = workspaceService.getById(workspaceId);
|
||||
File repoDir = T.FileUtil.file(T.WebPathUtil.getRootPath(), "workspeace", workspace.getName());
|
||||
File repoDir = T.FileUtil.file(T.WebPathUtil.getRootPath(), "workspace", workspace.getId());
|
||||
return repoDir;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user