Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "parlog", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Log Parser for ExpressJS/Morgan Middleware", | ||
@@ -5,0 +5,0 @@ "author": "Gregory Langlais", |
@@ -44,3 +44,3 @@ # parlog | ||
-f, --format [format] format of logs | ||
-d, --directory [path] directory of log files | ||
-i, --directory [path] directory of log files | ||
-t, --transform [filepath] filepath of transform function | ||
@@ -50,3 +50,3 @@ -o, --output [filepath] filepath of output | ||
Additional details of *some options* provide below: | ||
Additional details of *some options* provided below: | ||
@@ -53,0 +53,0 @@ ### -s, --start | -e, --end |
@@ -53,3 +53,3 @@ var util = require('util'); | ||
files.forEach(function (filename) { | ||
if ('' !== filename.match(self.logFileMatch)[0]) { | ||
if (null !== filename.match(self.logFileMatch)) { | ||
self.emit('debug', 'log file match', filename); | ||
@@ -70,5 +70,5 @@ logFiles.push(filename); | ||
directory = path.resolve(__dirname, '..', directory); | ||
self.getLogFiles(directory, function(err, logFiles) { | ||
if (err) return false; | ||
self.getLogFiles(directory, function(err, logFiles) { | ||
self.emit('debug', 'parsing', logFiles.length, 'log files'); | ||
@@ -75,0 +75,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16618