-
Notifications
You must be signed in to change notification settings - Fork 12
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
fix: Deprecation warnings should be shown just once per run #159
Conversation
Codecov Report
@@ Coverage Diff @@
## master #159 +/- ##
==========================================
+ Coverage 99.66% 99.66% +<.01%
==========================================
Files 17 17
Lines 1206 1209 +3
Branches 290 291 +1
==========================================
+ Hits 1202 1205 +3
Misses 4 4
Continue to review full report at Codecov.
|
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.
I don't think this is correct... if the flag is module-global, then it will never show for other invocations with different strains.
right now we use the strain only in the helix-cli in a one-shot manner. so it might not be a problem. but maybe the flags should be stored in the cfg?
That's what it should do: if you run the tests in this module, they'll use different strains, and the deprecation warnings should just be shown once for that run. |
Showing the warning once per run looks right to me. |
## [3.0.1](v3.0.0...v3.0.1) (2019-10-01) ### Bug Fixes * Deprecation warnings should be shown just once per run ([#159](#159)) ([3f21b52](3f21b52))
🎉 This PR is included in version 3.0.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
fixes #158