Commit e5a0c19
fs: refactor promises version of lchown and lchmod
Check for platform support first to save a level of indentation.
PR-URL: #20551
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>1 parent 6ce589f commit e5a0c19Copy full SHA for e5a0c19
File tree
Expand file treeCollapse file tree
1 file changed
+10
-12
lines changedOpen diff view settings
Filter options
- lib/internal/fs
Expand file treeCollapse file tree
1 file changed
+10
-12
lines changedOpen diff view settings
Collapse file
lib/internal/fs/promises.js
Copy file name to clipboardExpand all lines: lib/internal/fs/promises.js+10-12Lines changed: 10 additions & 12 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
376 | 376 | |
377 | 377 | |
378 | 378 | |
379 | | - |
380 | | - |
381 | | - |
382 | | - |
383 | | - |
384 | | - |
| 379 | + |
| 380 | + |
| 381 | + |
| 382 | + |
| 383 | + |
385 | 384 | |
386 | 385 | |
387 | 386 | |
388 | | - |
389 | | - |
390 | | - |
391 | | - |
392 | | - |
393 | | - |
| 387 | + |
| 388 | + |
| 389 | + |
| 390 | + |
| 391 | + |
394 | 392 | |
395 | 393 | |
396 | 394 | |
|
0 commit comments