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
+2-2
Original file line number
Diff line number
Diff line change
@@ -95,9 +95,9 @@ A value of `options` parameter is a string (which equivalent to `{ basedir: <str
95
95
-**onError**
96
96
97
97
Type: `function(error)` or `null`
98
-
Default: `error => console.error('...', error)`
98
+
Default: `null`
99
99
100
-
A handler that is used when an error is occuring during FS scan or file processing. By default errors output in `stderr`, that's can be disabled by passing another function or a falsy value. Errors also can be reached by `errors` field of a result (i.e. `files.errors`).
100
+
A handler that is used when an error is occuring during FS scan or file processing. By default nothing happens, but adds to errors `array` which can be reached by `errors` field of a result.
101
101
102
102
A **rule** is an object with following fields (all are optional):
0 commit comments