Skip to content

Commit feab003

Browse files
committed
Drop recursive fsPromises.rmdir for Node 25
Instead use `fsPromise.rm()` with `{ recursive: true }`, as suggested by NodeJS docs (but don't need `{ force: true }` in this case)
1 parent 26d5502 commit feab003

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spec/integ/cli.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ describe("Cli", () => {
4242
tempDir = await fs.mkdtemp(path.join(os.tmpdir(), "bridge-test"));
4343
});
4444
afterEach(async () => {
45-
await fs.rmdir(tempDir, {recursive: true});
45+
await fs.rm(tempDir, {recursive: true});
4646
});
4747

4848
it("should be able to start the bridge with just a registration file", async () => {

0 commit comments

Comments
 (0)