Skip to content

Commit

Permalink
Minor Word Choice Changes in README
Browse files Browse the repository at this point in the history
  • Loading branch information
Denny Ayard committed Mar 8, 2017
1 parent 172c92f commit 19b7541
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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');
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 19b7541

Please sign in to comment.