Commit 2af1bf5
doc,test: remove unnecessary await with return instances
Remove unnecessary `await` in combination with `return` in preparation
for enabling lint rule.
PR-URL: #17265
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>1 parent dbae582 commit 2af1bf5Copy full SHA for 2af1bf5
File tree
Expand file treeCollapse file tree
3 files changed
+7
-7
lines changedOpen diff view settings
Filter options
- doc/api
- test
- common
- parallel
Expand file treeCollapse file tree
3 files changed
+7
-7
lines changedOpen diff view settings
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
31 | 31 | |
32 | 32 | |
33 | 33 | |
34 | | - |
| 34 | + |
35 | 35 | |
36 | 36 | |
37 | 37 | |
|
Collapse file
test/common/inspector-helper.js
Copy file name to clipboardExpand all lines: test/common/inspector-helper.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
390 | 390 | |
391 | 391 | |
392 | 392 | |
393 | | - |
| 393 | + |
394 | 394 | |
395 | 395 | |
396 | 396 | |
|
Collapse file
test/parallel/test-util-callbackify.js
Copy file name to clipboardExpand all lines: test/parallel/test-util-callbackify.js+5-5Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
28 | 28 | |
29 | 29 | |
30 | 30 | |
31 | | - |
| 31 | + |
32 | 32 | |
33 | 33 | |
34 | 34 | |
| ||
70 | 70 | |
71 | 71 | |
72 | 72 | |
73 | | - |
| 73 | + |
74 | 74 | |
75 | 75 | |
76 | 76 | |
| ||
142 | 142 | |
143 | 143 | |
144 | 144 | |
145 | | - |
| 145 | + |
146 | 146 | |
147 | 147 | |
148 | 148 | |
| ||
183 | 183 | |
184 | 184 | |
185 | 185 | |
186 | | - |
| 186 | + |
187 | 187 | |
188 | 188 | |
189 | 189 | |
| ||
241 | 241 | |
242 | 242 | |
243 | 243 | |
244 | | - |
| 244 | + |
245 | 245 | |
246 | 246 | |
247 | 247 | |
|
0 commit comments