vfile-reporter
Advanced tools
Comparing version 1.3.0 to 1.4.0
@@ -5,2 +5,7 @@ <!--mdast setext--> | ||
1.4.0 / 2015-09-12 | ||
================== | ||
* Add support for `note` properties in `verbose` mode ([41a4910](https://github.com/wooorm/vfile-reporter/commit/41a4910)) | ||
1.3.0 / 2015-08-21 | ||
@@ -7,0 +12,0 @@ ================== |
@@ -132,2 +132,3 @@ /** | ||
* `quiet` to `true`. | ||
* @param {Object} [options.verbose=false] - Output notes. | ||
* @return {string} - Formatted files. | ||
@@ -143,2 +144,3 @@ */ | ||
var summary; | ||
var verbose; | ||
@@ -157,2 +159,4 @@ if (!files) { | ||
verbose = options.verbose || false; | ||
if (options.silent) { | ||
@@ -220,2 +224,6 @@ removeNonFatalMessages(files); | ||
if (verbose && message.note) { | ||
reason += '\n' + message.note; | ||
} | ||
return [ | ||
@@ -222,0 +230,0 @@ '', |
{ | ||
"name": "vfile-reporter", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"description": "Stylish reporter for virtual files", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
12841
243