Commit 89c1b43
committed
walkthrough: use safeDeleteSync instead of fs.unlinkSync
Matches the fleet convention of routing all filesystem deletion
through @socketsecurity/lib's safe helpers, regardless of blast
radius. The previous unlinkSync call was scoped to a specific
known path so the risk was low, but going through safeDeleteSync
keeps the audit story uniform and gives us free retry/abort
handling.1 parent 170a6dc commit 89c1b43
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | 24 | | |
26 | 25 | | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
796 | 796 | | |
797 | 797 | | |
798 | 798 | | |
799 | | - | |
| 799 | + | |
800 | 800 | | |
801 | 801 | | |
802 | 802 | | |
| |||
0 commit comments