Skip to content

Commit 8f3c653

Browse files
committedJan 3, 2024
Fix rimraf usage in new test
1 parent f3836aa commit 8f3c653

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎test/unit/winston/transports/02-file-archive.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const testLogFixturesPath = path.join(
2222

2323

2424
function removeFixtures(done) {
25-
rimraf(path.join(testLogFixturesPath, 'testarchive*'), done);
25+
rimraf(path.join(testLogFixturesPath, 'testarchive*')).then(() => done());
2626
}
2727

2828
describe('winston/transports/file/zippedArchive', function () {

0 commit comments

Comments
 (0)