Authored by 陈峰

submodule change to clone

@@ -110,7 +110,7 @@ class Build { @@ -110,7 +110,7 @@ class Build {
110 update = true; 110 update = true;
111 syncCodeScript = `git fetch && git checkout ${self.branch} && git reset --hard origin/${self.branch} && git pull origin ${self.branch}`; 111 syncCodeScript = `git fetch && git checkout ${self.branch} && git reset --hard origin/${self.branch} && git pull origin ${self.branch}`;
112 } else { 112 } else {
113 - syncCodeScript = `git submodule add -f ${this.project.gitlab}`; 113 + syncCodeScript = `git clone ${this.project.gitlab}`;
114 } 114 }
115 115
116 this._log(`>>>>>>>>> ${syncCodeScript} >>>>>>>>>>>`); 116 this._log(`>>>>>>>>> ${syncCodeScript} >>>>>>>>>>>`);