@reactful/create 0.0.81 → 0.0.82
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +5 -1
- package/package.json +1 -1
package/index.js
CHANGED
@@ -76,7 +76,11 @@ async function downloadGitHub(user, repository, subdir, destination) {
|
|
76
76
|
const from = `${subdir}/${item.name}`
|
77
77
|
const goto = `${destination}/${item.name}`
|
78
78
|
|
79
|
-
if (item.type === 'dir')
|
79
|
+
if (item.type === 'dir') {
|
80
|
+
await downloadGitHub(from, goto)
|
81
|
+
continue
|
82
|
+
}
|
83
|
+
|
80
84
|
if (item.type != 'file') continue
|
81
85
|
|
82
86
|
const filename = path.join(destination, item.name)
|