-
Notifications
You must be signed in to change notification settings - Fork 4.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
Missing return statement on line 175 of packages/components/src/drop-zone/provider.js #13952
Comments
Hi @jasonculligan, thank you for opening this issue 👍 In PR #13953 I describe what happened and I added a change to make sure future people reading the code don't get the same perception. |
If possible, it would be worth exploring a lint rule which enforces an assumption that |
@jasonculligan Out of curiosity, did you come across the error as the result of some automated tooling, or just by glancing over the code? |
Nice idea I will look into having a rule implemented. |
@aduth I used SonarCube Community Edition Version 7.6 (build 21501) which reported the find as a blocker type bug. |
Should there be a return statement in the toUpdate.map callback at line 175 of packages/components/src/drop-zone/provider.js ?
The text was updated successfully, but these errors were encountered: