Commit 3321522
fix(pnpm): allow EBUSY when deleting node_modules (#6826)
## What's the problem this PR addresses?
EBUSY should be allowed, if `node_modules` is an active docker
mountpoint where rmdir attempts to unmount it which fails because there
are open files.
Closes #4373 #4974 #4259 #1184 #4172
## How did you fix it?
Allow EBUSY to not block "clearing" node_modules.
## Checklist
- [x] I have read the [Contributing
Guide](https://yarnpkg.com/advanced/contributing).
- [ ] I have set the packages that need to be released for my changes to
be effective.
- [ ] I will check that all automated PR checks pass before the PR gets
reviewed.
---------
Co-authored-by: Maël Nison <[email protected]>1 parent 10fdde7 commit 3321522
File tree
2 files changed
+24
-1
lines changed- .yarn/versions
- packages/plugin-pnpm/sources
2 files changed
+24
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
399 | 399 | | |
400 | 400 | | |
401 | 401 | | |
402 | | - | |
| 402 | + | |
403 | 403 | | |
404 | 404 | | |
405 | 405 | | |
| |||
0 commit comments