Skip to content
This repository was archived by the owner on Aug 22, 2023. It is now read-only.

Commit daed294

Browse files
committed
perf: flush errors not cli-ux
1 parent e303854 commit daed294

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/command.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export default abstract class Command {
105105
} else throw err
106106
}
107107
protected async finally(_: Error | undefined) {
108-
try {await require('cli-ux').done()} catch {}
108+
try {await require('@anycli/errors').config.errorLogger.flush() } catch {}
109109
}
110110

111111
protected _help() {

0 commit comments

Comments
 (0)