From 46cc7552a0d66a769a4290e8f6e4aa4a931eef36 Mon Sep 17 00:00:00 2001 From: Robin Malfait Date: Mon, 17 Oct 2022 16:00:00 +0200 Subject: [PATCH] use `rm` instead of `rmdir` --- standalone-cli/tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/standalone-cli/tests/test.js b/standalone-cli/tests/test.js index eacad793328b..6c49799ac623 100644 --- a/standalone-cli/tests/test.js +++ b/standalone-cli/tests/test.js @@ -85,6 +85,6 @@ async function inIsolatedContext(fn) { process.chdir(__dirname) // Delete the new directory - await fs.rmdir(dest, { recursive: true }) + await fs.rm(dest, { recursive: true }) } }