Commit cedd26a
lib: refactor source map stack trace prepare
• Make use of the logical OR operator (`||`) for better
readability.
• Remove unnecessary conditional and wrapping.
PR-URL: #41698
Reviewed-By: Mestery <mestery@protonmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 5f1a59c commit cedd26aCopy full SHA for cedd26a
File tree
Expand file treeCollapse file tree
1 file changed
+3
-3
lines changedOpen diff view settings
Filter options
- lib/internal/source_map
Expand file treeCollapse file tree
1 file changed
+3
-3
lines changedOpen diff view settings
Collapse file
lib/internal/source_map/prepare_stack_trace.js
Copy file name to clipboardExpand all lines: lib/internal/source_map/prepare_stack_trace.js+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
89 | 89 | |
90 | 90 | |
91 | 91 | |
92 | | - |
| 92 | + |
93 | 93 | |
94 | 94 | |
95 | 95 | |
96 | 96 | |
97 | | - |
| 97 | + |
98 | 98 | |
99 | 99 | |
100 | 100 | |
| ||
160 | 160 | |
161 | 161 | |
162 | 162 | |
163 | | - |
| 163 | + |
164 | 164 | |
165 | 165 | |
166 | 166 | |
|
0 commit comments