Commit 2edb604
committed
test: launch rmdir with spawnSync
In the `common/tmpdir` module used for testing, `rmdir` on Windows
executes via `execSync()` which will fail if there is a space (or
perhaps other special characters?) in `pathname`. Use `spawnSync()`
instead so that args can be put into an array and escaping handled
automatically.1 parent 82fe33f commit 2edb604
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
0 commit comments