Open ilong4rennes opened 2 months ago
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
src/meta/errors.js | 1 | 76.74% | ||
<!-- | Total: | 1 | --> |
Totals | |
---|---|
Change from base Build 10607818019: | -0.005% |
Covered Lines: | 22323 |
Relevant Lines: | 25583 |
This pull request refactors the for loop in
src/database/redis/sorted/add.js
to use a for-of loop instead, as recommended by SonarCloud. This improves the readability and simplifies the iteration over the scores array.Changes made:
Resolves #398 (link to the issue).