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
+7
Original file line number
Diff line number
Diff line change
@@ -235,6 +235,13 @@ const cli = meow(`
235
235
*/
236
236
```
237
237
238
+
##### hardRejection
239
+
240
+
Type: `boolean`<br>
241
+
Default: `true`
242
+
243
+
Whether to use [`hard-rejection`](https://github.com/sindresorhus/hard-rejection) or not. Disabling this can be useful if you need to handle `process.on('unhandledRejection')` yourself.
244
+
238
245
## Promises
239
246
240
247
Meow will make unhandled rejected promises [fail hard](https://github.com/sindresorhus/hard-rejection) instead of the default silent fail. Meaning you don't have to manually `.catch()` promises used in your CLI.
0 commit comments