-
Notifications
You must be signed in to change notification settings - Fork 8.8k
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
reactor: refactor the code that does not comply with license requirements #7145
base: 2.x
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 2.x #7145 +/- ##
=========================================
Coverage 51.56% 51.56%
- Complexity 6812 6813 +1
=========================================
Files 1169 1169
Lines 41482 41489 +7
Branches 4851 4851
=========================================
+ Hits 21389 21395 +6
- Misses 18072 18073 +1
Partials 2021 2021
🚀 New features to boost your workflow:
|
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.
LGTM
|
||
return res; | ||
//Return the final alternative result, or all if result has not changed | ||
return result == null || result === obj ? all : result; |
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 think it should be ${res == null || res === obj ? all : res}
to convert res to string if necessary.
Ⅰ. Describe what this PR did
refactor some code
Ⅱ. Does this pull request fix one issue?
https://lists.apache.org/thread/wbq6jsykj2cd9nn91ys1b8r99bfl1h2r
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews