Commit f9447b7
fs: fix rmsync error swallowing
fix rmsync swallowing errors instead of throwing them.
fixes: #38683
fixes: #34580
PR-URL: #38684
Fixes: #38683
Fixes: #34580
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent fa7cdd6 commit f9447b7Copy full SHA for f9447b7
File tree
Expand file treeCollapse file tree
9 files changed
+286
-154
lines changedOpen diff view settings
Filter options
- lib/internal/fs
- test/parallel
Expand file treeCollapse file tree
9 files changed
+286
-154
lines changedOpen diff view settings
Collapse file
+15-2Lines changed: 15 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
219 | 219 | |
220 | 220 | |
221 | 221 | |
| 222 | + |
| 223 | + |
| 224 | + |
| 225 | + |
| 226 | + |
222 | 227 | |
223 | 228 | |
224 | 229 | |
| ||
231 | 236 | |
232 | 237 | |
233 | 238 | |
234 | | - |
235 | | - |
| 239 | + |
| 240 | + |
| 241 | + |
236 | 242 | |
237 | 243 | |
238 | 244 | |
| ||
259 | 265 | |
260 | 266 | |
261 | 267 | |
| 268 | + |
| 269 | + |
| 270 | + |
| 271 | + |
| 272 | + |
262 | 273 | |
263 | 274 | |
264 | 275 | |
265 | 276 | |
| 277 | + |
| 278 | + |
266 | 279 | |
267 | 280 | |
268 | 281 | |
|
Collapse file
test/parallel/test-fs-mkdir-recursive-eaccess.js
Copy file name to clipboardExpand all lines: test/parallel/test-fs-mkdir-recursive-eaccess.js+2-3Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
26 | 26 | |
27 | 27 | |
28 | 28 | |
29 | | - |
30 | | - |
| 29 | + |
31 | 30 | |
32 | 31 | |
33 | 32 | |
| ||
36 | 35 | |
37 | 36 | |
38 | 37 | |
39 | | - |
| 38 | + |
40 | 39 | |
41 | 40 | |
42 | 41 | |
|
Collapse file
test/parallel/test-fs-open-no-close.js
Copy file name to clipboardExpand all lines: test/parallel/test-fs-open-no-close.js+14-7Lines changed: 14 additions & 7 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
15 | 15 | |
16 | 16 | |
17 | 17 | |
18 | | - |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
Collapse file
test/parallel/test-fs-promises-file-handle-read-worker.js
Copy file name to clipboardExpand all lines: test/parallel/test-fs-promises-file-handle-read-worker.js+13-9Lines changed: 13 additions & 9 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
19 | 19 | |
20 | 20 | |
21 | 21 | |
22 | | - |
23 | | - |
24 | | - |
25 | | - |
26 | | - |
27 | | - |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
28 | 32 | |
29 | | - |
30 | | - |
31 | | - |
| 33 | + |
| 34 | + |
| 35 | + |
32 | 36 | |
33 | 37 | |
34 | 38 | |
|
Collapse file
test/parallel/test-fs-promises-file-handle-readFile.js
Copy file name to clipboardExpand all lines: test/parallel/test-fs-promises-file-handle-readFile.js+10-7Lines changed: 10 additions & 7 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
56 | 56 | |
57 | 57 | |
58 | 58 | |
59 | | - |
60 | | - |
61 | | - |
62 | | - |
63 | | - |
64 | | - |
65 | | - |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
66 | 69 | |
67 | 70 | |
68 | 71 | |
|
Collapse file
test/parallel/test-fs-promises-file-handle-writeFile.js
Copy file name to clipboardExpand all lines: test/parallel/test-fs-promises-file-handle-writeFile.js+11-7Lines changed: 11 additions & 7 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
30 | 30 | |
31 | 31 | |
32 | 32 | |
33 | | - |
34 | | - |
35 | | - |
36 | | - |
37 | | - |
38 | | - |
39 | | - |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
40 | 44 | |
41 | 45 | |
42 | 46 | |
|
0 commit comments