修改removeTpmRemoteUrl日志打印判断
This commit is contained in:
parent
fb7eab9d84
commit
c255589421
|
@ -781,7 +781,7 @@ public class GameService {
|
|||
String cmd = "cd " + tpiRepoPath + " && git remote rm remote_origin && git branch --set-upstream-to=origin/master master";
|
||||
JSONObject result = ShellUtil.executeAndGetExitStatus(cmd, 1);
|
||||
if (result.getInteger("exitStatus") != 0) {
|
||||
if (!result.getString("out").contains("remove")) {
|
||||
if (!result.getString("out").contains("upstream")) {
|
||||
logger.error("删除本地git项目remote remote_origin url config失败!tpiRepoPath: " + tpiRepoPath + " e: " + result);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue