test(cli): repair startup progress checks

This commit is contained in:
Peter Steinberger
2026-05-17 00:51:17 +01:00
parent 97abe0f0c0
commit e19f05b79b
2 changed files with 6 additions and 3 deletions

View File

@@ -76,7 +76,7 @@ function isBareParentDefaultHelpInvocation(actionCommand: Command, argv: string[
}
function isGuidedConfigAction(actionCommand: Command): boolean {
return actionCommand.name() === "config" && actionCommand.parent?.parent === undefined;
return actionCommand.name() === "config" && !actionCommand.parent?.parent;
}
export function registerPreActionHooks(program: Command, programVersion: string) {