Closes #238 Updated async library in order to use lib in —use-strict mode
This commit is contained in:
@@ -71,7 +71,7 @@ RollingFileStream.prototype.roll = function(filename, callback) {
|
||||
//roll the backups (rename file.n to file.n+1, where n <= numBackups)
|
||||
debug("Renaming the old files");
|
||||
fs.readdir(path.dirname(filename), function (err, files) {
|
||||
async.forEachSeries(
|
||||
async.eachSeries(
|
||||
files.filter(justTheseFiles).sort(byIndex).reverse(),
|
||||
increaseFileIndex,
|
||||
cb
|
||||
|
||||
Reference in New Issue
Block a user