From bf860277cdb6b481393bbf08f01f1ec62b737f3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E6=98=8E=E4=BB=81?= <903716863@qq.com> Date: Sat, 28 Sep 2019 11:22:45 +0800 Subject: [PATCH] update --- src/main/java/com/educoder/bridge/game/service/GameService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/educoder/bridge/game/service/GameService.java b/src/main/java/com/educoder/bridge/game/service/GameService.java index b92b265..5860780 100644 --- a/src/main/java/com/educoder/bridge/game/service/GameService.java +++ b/src/main/java/com/educoder/bridge/game/service/GameService.java @@ -639,7 +639,7 @@ public class GameService { String tpiScript = tpmScript.replace("WORKSPACE", TpUtils.buildTpiRepoPath(tpiWorkspace, tpiRepoName)); try { // 写脚本到工作空间目录下 - FileUtils.deleteQuietly(new File(tpiWorkspace + File.separator + "evaluate.sh")); +// FileUtils.deleteQuietly(new File(tpiWorkspace + File.separator + "evaluate.sh")); FileUtils.writeStringToFile(new File(tpiWorkspace + File.separator + "evaluate.sh"), tpiScript, "UTF-8"); } catch (Exception e) { logger.error("生成TPI评测脚本失败!{}", e);