mirror of
https://github.com/rubickCenter/rubick
synced 2025-12-23 10:40:12 +08:00
ref: 功能优化
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user