-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(deploy): must run hlx build #1064
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1064 +/- ##
==========================================
+ Coverage 91.94% 92.33% +0.38%
==========================================
Files 43 43
Lines 1788 1800 +12
==========================================
+ Hits 1644 1662 +18
+ Misses 144 138 -6
Continue to review full report at Codecov.
|
src/yargs-build.js
Outdated
@@ -24,7 +24,7 @@ module.exports = function commonArgs(yargs) { | |||
type: 'string', | |||
}) | |||
// allow for comma separated values | |||
.coerce('files', value => value.reduce((acc, curr) => { | |||
.coerce('files', value => (typeof value !== 'object' ? [value] : value).reduce((acc, curr) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe better check with Array.isArray(value)
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right
🎉 This PR is included in version 4.9.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Fixes #241 (see issue for implementation details)