Commit 17c0a3f
authored
chore: replace rmdirSync to rmSync (#15420)
Replaces deprecated `fs.rmdirSync` with `fs.rmSync` in
`examples/localization`, `packages/ui/bundle.js`, and
`test/database/up-down-migration`. After upgrading to Node.js 25,
running `pnpm build` failed in the `ui` package because `rmdirSync` with
the recursive option was removed in v25 (DEP0147). The `rmSync` API with
`{ recursive: true }` is the recommended replacement and has been
available since Node.js v14.14.0.1 parent 94254da commit 17c0a3f
3 files changed
Lines changed: 3 additions & 3 deletions
File tree
- examples/localization/src/endpoints/seed
- packages/ui
- test/database/up-down-migration
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments