Skip to content

Commit

Permalink
Replace old fs.rmdir call
Browse files Browse the repository at this point in the history
  • Loading branch information
kemitchell committed Jun 2, 2022
1 parent ba52ba4 commit cf535d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ tap.test('unit', function (test) {
}),
'rejects GPL-2.0-only'
)
fs.rmdir(directory, { recursive: true }, function (error) {
fs.rm(directory, { recursive: true }, function (error) {
test.ifError(error, 'rm -rf test dir')
test.end()
})
Expand Down

0 comments on commit cf535d2

Please # to comment.