You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-5Lines changed: 18 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,8 +13,8 @@
13
13
14
14
## Attention
15
15
16
-
> You need install Java for working with `node-w3c-validator`
17
-
> Visit https://java.com for download Java if you not have it
16
+
> You need to install the "Java" for working with `node-w3c-validator`
17
+
> Visit https://java.com for downloading the "Java" if you not have it
18
18
19
19
20
20
---
@@ -154,7 +154,7 @@ Write reporting result to the path
154
154
155
155
#### `-b, --buffersize <size>`
156
156
157
-
Increase [maxBuffer](https://nodejs.org/docs/latest-v10.x/api/child_process.html#child_process_child_process_exec_command_options_callback) size to prevent #3, `!!! OUTPUT ERROR` or `Unexpected end of JSON input` errors. This is because [child_process stdout being truncated](https://github.com/nodejs/node/issues/19218) when validator check a lot of files.
157
+
Increase [maxBuffer](https://nodejs.org/docs/latest-v10.x/api/child_process.html#child_process_child_process_exec_command_options_callback) size to prevent [`!!! OUTPUT ERROR` or `Unexpected end of JSON input` errors](https://github.com/dutchenkoOleg/node-w3c-validator/issues/3). This is because [child_process stdout being truncated](https://github.com/nodejs/node/issues/19218) when validator check a lot of files.
158
158
159
159
##### CLI `-b, --buffersize`
160
160
@@ -230,7 +230,7 @@ _Parameters:_
230
230
231
231
Name | Data type | Description
232
232
--- | --- | ---
233
-
`err` | `Error / Object.<null>` | if no errors - will be `null`, else - Error object
233
+
`err` | `Error / null` | if no errors - will be `null`, otherwise - Error object
234
234
`output` | `string` | string with reporting result, if no errors - can be as empty string
`done` | `Function` | _optional_ | if exist - it will asynchronous writes output to the filePath. See [fs.writeFile(file, data, callback)](https://nodejs.org/api/fs.html#fs_fs_writefile_file_data_options_callback)
0 commit comments