Commit acd8768
lib: add comments to empty catch statements
PR-URL: #41831
Backport-PR-URL: #42160
Refs: https://eslint.org/docs/rules/no-empty
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>1 parent 330c1bc commit acd8768Copy full SHA for acd8768
File tree
Expand file treeCollapse file tree
14 files changed
+59
-19
lines changedOpen diff view settings
Filter options
- lib
- internal
- bootstrap
- main
- modules
- cjs
- esm
- policy
- process
- util
Expand file treeCollapse file tree
14 files changed
+59
-19
lines changedOpen diff view settings
Collapse file
+6-2Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
445 | 445 | |
446 | 446 | |
447 | 447 | |
448 | | - |
| 448 | + |
| 449 | + |
| 450 | + |
449 | 451 | |
450 | 452 | |
451 | 453 | |
| ||
493 | 495 | |
494 | 496 | |
495 | 497 | |
496 | | - |
| 498 | + |
| 499 | + |
| 500 | + |
497 | 501 | |
498 | 502 | |
499 | 503 | |
|
Collapse file
+3-1Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1600 | 1600 | |
1601 | 1601 | |
1602 | 1602 | |
1603 | | - |
| 1603 | + |
| 1604 | + |
| 1605 | + |
1604 | 1606 | |
1605 | 1607 | |
1606 | 1608 | |
|
Collapse file
lib/internal/bootstrap/pre_execution.js
Copy file name to clipboardExpand all lines: lib/internal/bootstrap/pre_execution.js+3-1Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
97 | 97 | |
98 | 98 | |
99 | 99 | |
100 | | - |
| 100 | + |
| 101 | + |
| 102 | + |
101 | 103 | |
102 | 104 | |
103 | 105 | |
|
Collapse file
lib/internal/error_serdes.js
Copy file name to clipboardExpand all lines: lib/internal/error_serdes.js+9-3Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
48 | 48 | |
49 | 49 | |
50 | 50 | |
51 | | - |
| 51 | + |
| 52 | + |
| 53 | + |
52 | 54 | |
53 | 55 | |
54 | 56 | |
| ||
107 | 109 | |
108 | 110 | |
109 | 111 | |
110 | | - |
| 112 | + |
| 113 | + |
| 114 | + |
111 | 115 | |
112 | 116 | |
113 | 117 | |
114 | | - |
| 118 | + |
| 119 | + |
| 120 | + |
115 | 121 | |
116 | 122 | |
117 | 123 | |
|
Collapse file
lib/internal/main/worker_thread.js
Copy file name to clipboardExpand all lines: lib/internal/main/worker_thread.js+6-2Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
224 | 224 | |
225 | 225 | |
226 | 226 | |
227 | | - |
| 227 | + |
| 228 | + |
| 229 | + |
228 | 230 | |
229 | 231 | |
230 | 232 | |
231 | 233 | |
232 | 234 | |
233 | 235 | |
234 | | - |
| 236 | + |
| 237 | + |
| 238 | + |
235 | 239 | |
236 | 240 | |
237 | 241 | |
|
Collapse file
lib/internal/modules/cjs/loader.js
Copy file name to clipboardExpand all lines: lib/internal/modules/cjs/loader.js+3-1Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1134 | 1134 | |
1135 | 1135 | |
1136 | 1136 | |
1137 | | - |
| 1137 | + |
| 1138 | + |
| 1139 | + |
1138 | 1140 | |
1139 | 1141 | |
1140 | 1142 | |
|
Collapse file
lib/internal/modules/esm/module_job.js
Copy file name to clipboardExpand all lines: lib/internal/modules/esm/module_job.js+3-1Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
154 | 154 | |
155 | 155 | |
156 | 156 | |
157 | | - |
| 157 | + |
| 158 | + |
| 159 | + |
158 | 160 | |
159 | 161 | |
160 | 162 | |
|
Collapse file
lib/internal/modules/esm/resolve.js
Copy file name to clipboardExpand all lines: lib/internal/modules/esm/resolve.js+3-1Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
498 | 498 | |
499 | 499 | |
500 | 500 | |
501 | | - |
| 501 | + |
| 502 | + |
| 503 | + |
502 | 504 | |
503 | 505 | |
504 | 506 | |
|
Collapse file
lib/internal/modules/esm/translators.js
Copy file name to clipboardExpand all lines: lib/internal/modules/esm/translators.js+6-2Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
180 | 180 | |
181 | 181 | |
182 | 182 | |
183 | | - |
| 183 | + |
| 184 | + |
| 185 | + |
184 | 186 | |
185 | 187 | |
186 | 188 | |
| ||
205 | 207 | |
206 | 208 | |
207 | 209 | |
208 | | - |
| 210 | + |
| 211 | + |
| 212 | + |
209 | 213 | |
210 | 214 | |
211 | 215 | |
|
Collapse file
lib/internal/policy/manifest.js
Copy file name to clipboardExpand all lines: lib/internal/policy/manifest.js+3-1Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
639 | 639 | |
640 | 640 | |
641 | 641 | |
642 | | - |
| 642 | + |
| 643 | + |
| 644 | + |
643 | 645 | |
644 | 646 | |
645 | 647 | |
|
0 commit comments