Skip to content
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

Merged
merged 4 commits into from
Jul 8, 2019
Merged

feat(deploy): must run hlx build #1064

merged 4 commits into from
Jul 8, 2019

Conversation

rofe
Copy link
Contributor

@rofe rofe commented Jul 5, 2019

Fixes #241 (see issue for implementation details)

@rofe rofe requested review from trieloff and tripodsan July 5, 2019 13:04
@codecov
Copy link

codecov bot commented Jul 5, 2019

Codecov Report

Merging #1064 into master will increase coverage by 0.38%.
The diff coverage is 100%.

Impacted file tree graph

@@            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
Impacted Files Coverage Δ
src/package.js 81.81% <100%> (+4.04%) ⬆️
src/deploy.js 87.17% <100%> (+0.69%) ⬆️
src/deploy.cmd.js 84.03% <100%> (+2.75%) ⬆️
src/package.cmd.js 92.3% <100%> (+0.38%) ⬆️
src/yargs-build.js 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a38126d...06c04e3. Read the comment docs.

@@ -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) => {
Copy link
Contributor

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) ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right

@rofe rofe merged commit 3981455 into master Jul 8, 2019
@rofe rofe deleted the build-n-deploy branch July 8, 2019 07:01
@adobe-bot
Copy link
Collaborator

🎉 This PR is included in version 4.9.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[hlx deploy] must run hlx build
3 participants