-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
refactor: simplify for loops to for...of in Server.js #5496
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
base: master
Are you sure you want to change the base?
Conversation
client-src/index.js
Outdated
for (let i = 0; i < printableErrors.length; i++) { | ||
log.error(printableErrors[i]); | ||
for (const printableError of printableErrors) { | ||
log.error(printableError); |
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.
Please do not touch this file because it can be used in very old browsers
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.
@alexander-akait
Ok, I've reverted the index.js fix.
Codecov ReportAll modified and coverable lines are covered by tests β
Additional details and impacted files@@ Coverage Diff @@
## master #5496 +/- ##
==========================================
- Coverage 90.29% 83.37% -6.93%
==========================================
Files 15 13 -2
Lines 1577 2027 +450
Branches 601 745 +144
==========================================
+ Hits 1424 1690 +266
- Misses 140 303 +163
- Partials 13 34 +21 β View full report in Codecov by Sentry. π New features to boost your workflow:
|
For Bugs and Features; did you add new tests?
no
Motivation / Use-Case
simplify for loops to for...of in Server.js
Breaking Changes
no
Additional Info
no