@reactful/create 0.0.76 → 0.0.78

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 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -64,8 +64,9 @@ async function downloadGitHub(user, repository, subdir, destination) {
64
64
  const response = await fetch(`${prefix}/contents/installation/${subdir}`)
65
65
  const contents = response.json()
66
66
 
67
- if (!Array.isArray(contents) || !response.ok) {
67
+ if (!response.ok) {
68
68
  console.error('failed to download scafold from github...')
69
+ console.log('textual: ', await response.text())
69
70
  console.log('array: ', Array.isArray(contents))
70
71
  console.log('code: ', response.status)
71
72
  console.log('url: ', response.url)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reactful/create",
3
- "version": "0.0.76",
3
+ "version": "0.0.78",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "description": "reactful scafold tool",