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

Clean up config overrides #190

Merged
merged 2 commits into from
Sep 24, 2017
Merged

Clean up config overrides #190

merged 2 commits into from
Sep 24, 2017

Conversation

trevor-hackett
Copy link
Collaborator

Overriding the global and individual configs was repetitive and a bit messy. This should greatly clean it up and make it more readable. Now both the global and individual configs use the same method to override the config.

@codecov
Copy link

codecov bot commented Sep 24, 2017

Codecov Report

Merging #190 into master will decrease coverage by 0.07%.
The diff coverage is 91.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #190      +/-   ##
==========================================
- Coverage   79.92%   79.84%   -0.08%     
==========================================
  Files          21       22       +1     
  Lines         523      516       -7     
  Branches       70       65       -5     
==========================================
- Hits          418      412       -6     
  Misses         57       57              
+ Partials       48       47       -1
Impacted Files Coverage Δ
src/lib/toastr/default-config.ts 100% <100%> (ø)
src/lib/toastr/toastr-service.ts 58.65% <81.25%> (-8.53%) ⬇️
src/app/app.component.ts 83.09% <0%> (+1.4%) ⬆️

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 bde0df2...42d89e7. Read the comment docs.

Copy link
Owner

@scttcper scttcper left a comment

Choose a reason for hiding this comment

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

looks good. Appreciate the import consolidation/fixing

@scttcper scttcper merged commit 7f86d30 into scttcper:master Sep 24, 2017
@trevor-hackett trevor-hackett deleted the cleanup-config-overrides branch October 31, 2017 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants