ref: 功能优化

This commit is contained in:
muwoo
2021-06-21 10:38:18 +08:00
parent 0d6872d12b
commit 1e77613565
3 changed files with 4 additions and 1 deletions

View File

@@ -60,7 +60,7 @@ function downloadFunc(downloadRepoUrl, name) {
await process.execSync(`rm -rf ${temp_dest}`);
}
download(targetGit, temp_dest, function (err) {
download(targetGit, temp_dest, {clone: true}, function (err) {
console.log(err ? 'Error' : 'Success')
if (err) {
console.log(err);