Skip to content
This repository was archived by the owner on Oct 1, 2025. It is now read-only.

Conversation

@adrienbaron
Copy link
Contributor

Closes #261

@codecov
Copy link

codecov bot commented Sep 6, 2018

Codecov Report

Merging #262 into master will increase coverage by 1.26%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #262      +/-   ##
==========================================
+ Coverage    40.3%   41.57%   +1.26%     
==========================================
  Files          18       18              
  Lines         263      267       +4     
==========================================
+ Hits          106      111       +5     
+ Misses        157      156       -1
Impacted Files Coverage Δ
src/shared/getComponentOption.js 100% <100%> (ø) ⬆️
src/shared/plugin.js 53.33% <100%> (+1.6%) ⬆️
src/shared/getMetaInfo.js 96.42% <0%> (+1.78%) ⬆️

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 33a7aa4...eacad9a. Read the comment docs.

Copy link
Member

@TheAlexLichter TheAlexLichter left a comment

Choose a reason for hiding this comment

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

Great PR! Thanks for your contribution. Just a small nit on code style (which isn't even your code) that wouldn't hurt to clean up 🙈

if (typeof data === 'object') {
// merge with existing options
return deepmerge(result, data, { arrayMerge })
} else {
Copy link
Member

Choose a reason for hiding this comment

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

When extracting the code into a separate function, you could also get rid of that unnecessary else ☺️

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure! I'll do that as soon as I'm back home 👍

@TheAlexLichter
Copy link
Member

LGTM! (cc @atinux)

@adrienbaron
Copy link
Contributor Author

Any news on when this PR can be merged 🙂?

@atinux atinux merged commit f031a35 into nuxt:master Sep 23, 2018
@atinux
Copy link
Member

atinux commented Sep 23, 2018

Released to v1.5.4, thanks @adrienbaron

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants