Commit 4834be3
lib: add comments to empty catch statements
PR-URL: #41831
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 8a42a20 commit 4834be3Copy full SHA for 4834be3
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 |
|---|---|---|
| ||
101 | 101 | |
102 | 102 | |
103 | 103 | |
104 | | - |
| 104 | + |
| 105 | + |
| 106 | + |
105 | 107 | |
106 | 108 | |
107 | 109 | |
|
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 |
|---|---|---|
| ||
226 | 226 | |
227 | 227 | |
228 | 228 | |
229 | | - |
| 229 | + |
| 230 | + |
| 231 | + |
230 | 232 | |
231 | 233 | |
232 | 234 | |
233 | 235 | |
234 | 236 | |
235 | 237 | |
236 | | - |
| 238 | + |
| 239 | + |
| 240 | + |
237 | 241 | |
238 | 242 | |
239 | 243 | |
|
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 |
|---|---|---|
| ||
1128 | 1128 | |
1129 | 1129 | |
1130 | 1130 | |
1131 | | - |
| 1131 | + |
| 1132 | + |
| 1133 | + |
1132 | 1134 | |
1133 | 1135 | |
1134 | 1136 | |
|
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 |
|---|---|---|
| ||
474 | 474 | |
475 | 475 | |
476 | 476 | |
477 | | - |
| 477 | + |
| 478 | + |
| 479 | + |
478 | 480 | |
479 | 481 | |
480 | 482 | |
|
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