@reactful/create 0.0.87 → 0.0.88
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
@@ -84,14 +84,14 @@ async function downloadGitHub(user, repository, subdir, destination) {
|
|
84
84
|
const filename = path.join(destination, item.name)
|
85
85
|
const response = await fetch(item.download_url)
|
86
86
|
const filetext = await response.text()
|
87
|
+
|
88
|
+
fs.writeFileSync(filename, filetext)
|
87
89
|
}
|
88
90
|
catch(ex) {
|
89
91
|
console.log('MOMMENT: file...')
|
90
92
|
logging(response, contents)
|
91
93
|
throw ex
|
92
94
|
}
|
93
|
-
|
94
|
-
fs.writeFileSync(filename, filetext)
|
95
95
|
}
|
96
96
|
|
97
97
|
try {
|