Skip to content

Commit b607abf

Browse files
authored
Resolving #75
1 parent 9b8a4f2 commit b607abf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ DailyRotateFile.prototype._createStream = function () {
585585
var out = fs.createWriteStream(logfile + '.gz');
586586

587587
inp.pipe(gzip).pipe(out);
588-
fs.unlink(String(logfile));
588+
fs.unlinkSync(String(logfile));
589589
}
590590
}
591591

0 commit comments

Comments
 (0)