We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afd3f76 commit e8a1b5fCopy full SHA for e8a1b5f
src/main.ts
@@ -26,7 +26,7 @@ const getOptions = (options: Options = {}) => {
26
throw new TypeError('The "custom" option must not be defined.')
27
}
28
29
- return options
+ return { ...options, custom: 'pretty' }
30
31
32
/**
@@ -53,7 +53,7 @@ const exit = ({ error, options }: Info<Options>['instanceMethods']) => {
53
removePretty(error)
54
55
try {
56
- handleCliError(error, { ...options, custom: 'pretty' })
+ handleCliError(error, options)
57
} finally {
58
restorePretty(error)
59
0 commit comments