From 19b75416ceb6162b8dd62e9f8075f248ac357a1e Mon Sep 17 00:00:00 2001 From: Denny Ayard Date: Wed, 8 Mar 2017 03:06:04 -0500 Subject: [PATCH] Minor Word Choice Changes in README --- README.md | 9 ++++----- package.json | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index b2f1464..6de89de 100644 --- a/README.md +++ b/README.md @@ -155,7 +155,7 @@ gulp.task('prettify', function() { }); ``` -## Validation +## Validate Checks if it is possible to beautify some files. The reporter is responsible for displaying the validate results and will emit an error before the stream ends if a file could be beautified. @@ -172,9 +172,8 @@ gulp.task('validate', function() { ``` ## Reporter -Lists files that have been beautified, those already beautified and those that can not be beautified. -If you performed the validation, it lists files that can be beautified and, if presents, emits an error -before the stream ends. +Lists files that have been beautified, those already beautified, and those that can not be beautified. +If the [validate](#validate) feature is used, the reporter lists files that can be beautified and emits an error before the stream ends if such a file was detected. ```javascript var gulp = require('gulp'); @@ -194,7 +193,7 @@ Type: `number` Default value: `prettify.report.BEAUTIFIED` Other values: `prettify.report.ALL` -With BEAUTIFIED value, the reporter lists only beautified files (or those that can be beautified in the case of validation). +With BEAUTIFIED value, the reporter lists only beautified files (or those that can be beautified in the case of validate). With ALL value, the reporter also lists the other files. ```javascript diff --git a/package.json b/package.json index 3ce486f..941238a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "gulp-jsbeautifier", "description": "jsbeautifier.org for Gulp", - "version": "2.0.5", + "version": "2.0.4", "homepage": "https://github.com/tarunc/gulp-jsbeautifier", "author": { "name": "Tarun Chaudhry",