gulp-csslint
Advanced tools
Comparing version 0.2.1 to 0.2.2
12
index.js
@@ -96,3 +96,3 @@ 'use strict'; | ||
if (builtInReporter) { | ||
output = reporter.startFormat(); | ||
output = [reporter.startFormat()]; | ||
} | ||
@@ -105,3 +105,3 @@ | ||
if (builtInReporter) { | ||
output += reporter.formatResults(file.csslint.originalReport, file.path); | ||
output.push(reporter.formatResults(file.csslint.originalReport, file.path)); | ||
} | ||
@@ -116,6 +116,10 @@ else { | ||
function(cb) { | ||
var report; | ||
if (builtInReporter) { | ||
output += reporter.endFormat(); | ||
output.push(reporter.endFormat()); | ||
report = output.join(''); | ||
gutil.log(output); | ||
// Only print report if the report is not empty | ||
report && gutil.log(report); | ||
} | ||
@@ -122,0 +126,0 @@ |
{ | ||
"name": "gulp-csslint", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "CSSLint plugin for gulp", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
9854
119