@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.
Files changed (2) hide show
  1. package/index.js +2 -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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reactful/create",
3
- "version": "0.0.87",
3
+ "version": "0.0.88",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "description": "reactful scafold tool",