Skip to content

Commit 50eb7f4

Browse files
authored
fixed: remove deprecated fs.rmdirSync with recursive option (#5218)
1 parent 2857e96 commit 50eb7f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/runner/run_workers_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ describe('CodeceptJS Workers Runner', function () {
175175
let createdOutput = false
176176

177177
if (fs.existsSync(outputDir)) {
178-
fs.rmdirSync(outputDir, { recursive: true })
178+
fs.rmSync(outputDir, { recursive: true, force: true })
179179
}
180180

181181
if (!semver.satisfies(process.version, '>=11.7.0')) this.skip('not for node version')

0 commit comments

Comments
 (0)