mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-05 17:30:50 +00:00
fix(cli): report command failures once
This commit is contained in:
@@ -163,10 +163,7 @@ const commandLoaders = {
|
||||
};
|
||||
|
||||
const subCommands = Object.fromEntries(
|
||||
Object.entries(commandLoaders).map(([name, load]) => [
|
||||
name,
|
||||
trackCommandFailures(load, (error) => reportCommandFailure(command, error)),
|
||||
]),
|
||||
Object.entries(commandLoaders).map(([name, load]) => [name, trackCommandFailures(load)]),
|
||||
);
|
||||
|
||||
const main = defineCommand({
|
||||
|
||||
Reference in New Issue
Block a user