We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1273572 commit b6782a9Copy full SHA for b6782a9
src/main.ts
@@ -38,11 +38,8 @@ const getOptions = (options: Options = {}) => {
38
* ```
39
*/
40
// Stack traces and error properties are displayed by default.
41
-const exit = ({
42
- error,
43
- options: { stack = true, ...options },
44
-}: Info<Options>['instanceMethods']) => {
45
- handleCliError(error, { ...options, stack })
+const exit = ({ error, options }: Info<Options>['instanceMethods']) => {
+ handleCliError(error, options)
46
}
47
48
/**
0 commit comments