Commit 0f65e41
debugger: reduce scope of eslint disable comment
Current code masks setInterval and setTimeout with promisified versions.
This can be confusing to read and causes lint errors. Replace masking
with use of pSetInterval and pSetTimeout instead.
Move disabling of lint rule from entire file to the one remaining line
(after the above changes) that still needs it.
PR-URL: #38946
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>1 parent f40725f commit 0f65e41Copy full SHA for 0f65e41
File tree
Expand file treeCollapse file tree
1 file changed
+6
-9
lines changedOpen diff view settings
Filter options
- lib/internal/inspector
Expand file treeCollapse file tree
1 file changed
+6
-9
lines changedOpen diff view settings
Collapse file
lib/internal/inspector/_inspect.js
Copy file name to clipboardExpand all lines: lib/internal/inspector/_inspect.js+6-9Lines changed: 6 additions & 9 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
20 | 20 | |
21 | 21 | |
22 | 22 | |
23 | | - |
24 | | - |
25 | | - |
26 | 23 | |
27 | 24 | |
28 | 25 | |
| ||
53 | 50 | |
54 | 51 | |
55 | 52 | |
56 | | - |
57 | | - |
| 53 | + |
| 54 | + |
58 | 55 | |
59 | 56 | |
60 | 57 | |
| ||
85 | 82 | |
86 | 83 | |
87 | 84 | |
88 | | - |
| 85 | + |
89 | 86 | |
90 | | - |
| 87 | + |
91 | 88 | |
92 | 89 | |
93 | 90 | |
94 | | - |
| 91 | + |
95 | 92 | |
96 | 93 | |
97 | 94 | |
| ||
251 | 248 | |
252 | 249 | |
253 | 250 | |
254 | | - |
| 251 | + |
255 | 252 | |
256 | 253 | |
257 | 254 | |
|
0 commit comments