-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
build | ||
components | ||
node_modules |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -187,7 +187,7 @@ Package.prototype.getJSON = function* (){ | |
else err.message += ' in ' + url; | ||
throw err; | ||
} | ||
if (res.statusCode !== 400) throw error(res.res, url); | ||
if (res.statusCode !== 200) throw error(res.res, url); | ||
return res.body; | ||
}; | ||
|
||
|
@@ -336,6 +336,7 @@ Package.prototype.reallyInstall = function* (){ | |
yield* this.writeFile('component.json', json); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
jonathanong
Author
Contributor
|
||
yield* this.getFiles(files); | ||
yield* this.channel.flush(); | ||
return | ||
} | ||
|
||
// failed | ||
|
why the
*