From 4a5783b20eae2c3886662cc9dbaa0a1ca1e9bf56 Mon Sep 17 00:00:00 2001 From: shizhendong Date: Mon, 21 Oct 2024 14:23:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20workspace=20=E6=9C=AC=E5=9C=B0=E4=BB=93?= =?UTF-8?q?=E5=BA=93=E7=9B=AE=E5=BD=95=E4=BF=AE=E6=94=B9=E4=B8=BA=EF=BC=9A?= =?UTF-8?q?./workspace/{workspace=5Fid}?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../geedge/asw/module/app/service/impl/GitServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/geedge/asw/module/app/service/impl/GitServiceImpl.java b/src/main/java/net/geedge/asw/module/app/service/impl/GitServiceImpl.java index 3cf9c54..0ba1f59 100644 --- a/src/main/java/net/geedge/asw/module/app/service/impl/GitServiceImpl.java +++ b/src/main/java/net/geedge/asw/module/app/service/impl/GitServiceImpl.java @@ -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; }