assert: remove dead code#58760
Merged
nodejs-github-bot merged 3 commits intonodejs:mainfrom Jun 29, 2025
Merged
Conversation
kt3k
commented
Jun 19, 2025
| // errors are handled faster. | ||
| if (errorStackTraceLimitIsWritable) Error.stackTraceLimit = 0; | ||
|
|
||
| if (filename) { |
Contributor
Author
There was a problem hiding this comment.
There is if (filename) { ... } else { return ... } structure above, and this check is unnecessary.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #58760 +/- ##
==========================================
- Coverage 90.13% 90.10% -0.04%
==========================================
Files 639 640 +1
Lines 188192 188278 +86
Branches 36911 36917 +6
==========================================
+ Hits 169634 169648 +14
- Misses 11287 11338 +51
- Partials 7271 7292 +21
🚀 New features to boost your workflow:
|
legendecas
approved these changes
Jun 19, 2025
Collaborator
marco-ippolito
approved these changes
Jun 19, 2025
lpinca
approved these changes
Jun 19, 2025
anonrig
approved these changes
Jun 26, 2025
Collaborator
Ethan-Arrowood
approved these changes
Jun 26, 2025
Collaborator
Collaborator
|
Landed in 7db30d7 |
targos
pushed a commit
that referenced
this pull request
Jul 3, 2025
PR-URL: #58760 Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
aduh95
pushed a commit
that referenced
this pull request
Jul 21, 2025
PR-URL: #58760 Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
aduh95
pushed a commit
that referenced
this pull request
Jul 24, 2025
PR-URL: #58760 Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
This comment was marked as spam.
This comment was marked as spam.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
codevariable ingetErrMessageutil is not initialized anymore since this commit 43c380e and the handling of it is now dead code. This PR removes them.