Browse Source

改成强制

dev-DXTZYK
fanshuai 1 year ago
parent
commit
afb2928ac7
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/utils/DVCUtils.java

+ 2
- 2
ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/utils/DVCUtils.java View File

@@ -603,14 +603,14 @@ public class DVCUtils {

// 强制刷新 dvcPull 方法
public void dvcPull(String localPath) throws Exception {
String command = "dvc pull --force";
String command = "dvc pull -v --force";
runCommand(command, localPath);
}


// 方法
public void dvcCheckout(String localPath) throws Exception {
String command = "dvc checkout";
String command = "dvc checkout -v --force";
runCommand(command, localPath);
}



Loading…
Cancel
Save