From e210cb7cd0e0ac5085a7de23966fa3f2896d8b9b Mon Sep 17 00:00:00 2001 From: shizhendong Date: Mon, 4 Nov 2024 17:39:03 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=85=81=E8=AE=B8=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E7=A9=BA=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../geedge/asw/module/app/controller/GitController.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/net/geedge/asw/module/app/controller/GitController.java b/src/main/java/net/geedge/asw/module/app/controller/GitController.java index 55e6be5..f331174 100644 --- a/src/main/java/net/geedge/asw/module/app/controller/GitController.java +++ b/src/main/java/net/geedge/asw/module/app/controller/GitController.java @@ -152,10 +152,10 @@ public class GitController { if (T.StrUtil.hasEmpty(action, path)) { return R.error(RCode.PARAM_CANNOT_EMPTY); } - if (T.StrUtil.equalsAny(action, "create", "update")) { - String content = T.MapUtil.getStr(file, "content"); - T.VerifyUtil.is(content).notEmpty(RCode.PARAM_CANNOT_EMPTY); - } +// if (T.StrUtil.equalsAny(action, "create", "update")) { +// String content = T.MapUtil.getStr(file, "content"); +// T.VerifyUtil.is(content).notEmpty(RCode.PARAM_CANNOT_EMPTY); +// } } gitService.updateApplication(workspaceId, branchName, lastCommitId, message, files); return R.ok();