egg-logrotator
Advanced tools
Comparing version
@@ -30,3 +30,7 @@ 'use strict'; | ||
this.app.deprecate('[egg-logrotator] Do not use app.config.logger.rotateLogDirs, only rotate core loggers and custom loggers'); | ||
for (const dir of rotateLogDirs) { | ||
const exists = yield fs.exists(dir); | ||
if (!exists) continue; | ||
try { | ||
@@ -33,0 +37,0 @@ const names = yield fs.readdir(dir); |
2.2.1 / 2016-10-27 | ||
================== | ||
* fix: check directory exist before readdir (#7) | ||
2.2.0 / 2016-09-29 | ||
@@ -3,0 +8,0 @@ ================== |
{ | ||
"name": "egg-logrotator", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "logrotator for egg", | ||
@@ -5,0 +5,0 @@ "eggPlugin": { |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
17813
0.96%340
0.59%0
-100%