Commit c428d7f
committed
chore: do not ignore errors when clearing the npm/ output directory
rmSync already ignores a missing directory via force: true, so the
try/catch only swallowed real errors such as EACCES or EBUSY. Since
package.json ships the entire npm/ folder, a partially cleared output
directory meant stale JavaScript from earlier builds could be published.1 parent 1195275 commit c428d7f
1 file changed
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 17 | + | |
22 | 18 | | |
23 | 19 | | |
24 | 20 | | |
| |||
0 commit comments