pull source

This commit is contained in:
yi-ge 2019-10-03 23:43:43 +08:00
parent 99db40f356
commit 9e80051475

View File

@ -75,7 +75,8 @@ const gitCodeUpdate = async (buidType) => {
const promiseList = [] const promiseList = []
if (buidType.includes('mac')) { // 无论是否包含mac都应该更新参照代码
// if (buidType.includes('mac')) {
if (!fs.existsSync(sourcePath)) { if (!fs.existsSync(sourcePath)) {
mkdirsSync(sourcePath) mkdirsSync(sourcePath)
promiseList.push(gitClone(repoPath, sourcePath, 'Source')) promiseList.push(gitClone(repoPath, sourcePath, 'Source'))
@ -86,7 +87,7 @@ const gitCodeUpdate = async (buidType) => {
promiseList.push(gitClone(repoPath, sourcePath, 'Source')) promiseList.push(gitClone(repoPath, sourcePath, 'Source'))
} }
} }
} // }
if (buidType.includes('linux')) { if (buidType.includes('linux')) {
if (!fs.existsSync(linuxPath)) { if (!fs.existsSync(linuxPath)) {