We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5a7b8f commit b4caff1Copy full SHA for b4caff1
1 file changed
docs/modules/rimraf.md
@@ -43,7 +43,7 @@ rmdirSync(path, { recursive: true });
43
44
For command-line usage, such as npm scripts, you can run Node in eval mode:
45
```bash
46
-node -e "fs.rmSync('./foo', { recursive: true, force: true })"
+node -e "require('fs').rmSync('./foo', { recursive: true, force: true, maxRetries: process.platform === 'win32' ? 10 : 0 })"
47
```
48
49
## premove (Node 8.x and up)
0 commit comments