@reactful/create 0.0.83 → 0.0.85
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +2 -5
- package/package.json +1 -1
package/index.js
CHANGED
@@ -75,11 +75,8 @@ async function downloadGitHub(user, repository, subdir, destination) {
|
|
75
75
|
for (const item of contents) {
|
76
76
|
if (item.type === 'dir' && item.name) {
|
77
77
|
const from = `${subdir}/${item.name}`
|
78
|
-
const goto = `${destination}/${item.name}`
|
79
|
-
await
|
80
|
-
console.log('- from', from)
|
81
|
-
console.log('- goto', goto)
|
82
|
-
continue
|
78
|
+
const goto = `${destination}/${item.name}`
|
79
|
+
await downloadRepo(from, goto); continue
|
83
80
|
}
|
84
81
|
|
85
82
|
if (item.type != 'file') continue
|