-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Returning Instead Of Breaking - Stop Processing Additional View Directories #14526
Conversation
cc @maurits150 @memmaker - thanks to the original reporters of this. |
Codecov Report
@@ Coverage Diff @@
## 4.0.x #14526 +/- ##
==========================================
+ Coverage 67.71% 67.71% +<.01%
==========================================
Files 481 481
Lines 111827 111820 -7
==========================================
- Hits 75719 75715 -4
+ Misses 36108 36105 -3 |
I'll get the testing added in tomorrow. |
I guess that notExists can be removed now that you always return when a view is found. |
…tories - Removing notExists (No Longer Needed Owing To Return)
…tories - Automated Testing
…tories - Change Log
4ec226f
to
40605e5
Compare
I've added the testing in for this. Additionally, per @maurits150 , I have also removed the notExists boolean as it isn't needed anymore. I also went ahead and updated the change log. |
Excellent work. Thank you @Fenikkusu and @maurits150 for the implementation and input |
Hello!
In raising this pull request, I confirm the following:
Small description of change:
If you specify multiple view directories using, it creates an abnormality where the same file will be included from every view directory it exists. Rather than continuing the view directory loop, this breaks out of the function completely.
Thanks