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: docs/API.md
+15
Original file line number
Diff line number
Diff line change
@@ -101,6 +101,21 @@ Default: `false`
101
101
If true, it will create a duplex stream which passes items through and
102
102
emits globbed files.
103
103
104
+
### options.allowEmpty
105
+
Type: `Boolean`
106
+
Default: `false`
107
+
108
+
When true, will allow singular globs to fail to match. Otherwise, globs which are only supposed to match one file (such as `./foo/bar.js`) will cause an error to be thrown if they don't match.
0 commit comments