-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
chore: minor simplify format results error #11432
chore: minor simplify format results error #11432
Conversation
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.
👍
result.failureMessages | ||
.map(checkForCommonEnvironmentErrors) | ||
.forEach(content => errors.push({content, result})); | ||
result.failureMessages.forEach((item: string) => { |
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.
is the explicit type annotation needed?
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.
Linter warned about implicit any type
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.
Codecov Report
@@ Coverage Diff @@
## master #11432 +/- ##
==========================================
- Coverage 69.27% 69.26% -0.01%
==========================================
Files 311 311
Lines 16272 16272
Branches 4701 4701
==========================================
- Hits 11272 11271 -1
- Misses 4972 4973 +1
Partials 28 28
Continue to review full report at Codecov.
|
Thanks! |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Summary
Removed needless
.map
call.