File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -757,9 +757,7 @@ export class CliHelpError extends Error {
757757}
758758
759759/** Printed for `corbits --version` / `-V`. Matches `package.json` version. */
760- export const CLI_VERSION_TEXT = `${ COMMAND_NAME } v${
761- typeof pkg . version === "string" ? pkg . version : "0.0.0"
762- } `;
760+ export const CLI_VERSION_TEXT = `${ COMMAND_NAME } v${ pkg . version } ` ;
763761
764762/**
765763 * Thrown when the operator asked for the CLI version. Entry points must print
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ export async function resolveProfile(
113113 merged . summarizerTimeoutMs = projectProfile . summarizerTimeoutMs ;
114114 }
115115
116- const resolvedName = profileName ?? projectProfile ?. profile ;
116+ const resolvedName = namedProfileName ;
117117 if ( resolvedName !== undefined ) merged . profile = resolvedName ;
118118
119119 return merged ;
Original file line number Diff line number Diff line change @@ -646,9 +646,10 @@ export async function runExec(config: Config): Promise<ExecResult> {
646646 } ) ;
647647 } ,
648648 } ) ;
649- const sessionMode : SessionMode =
650- resolveSessionMode ( config . settings , localSettingsForMode ) ??
651- "orchestrator" ;
649+ const sessionMode : SessionMode = resolveSessionMode (
650+ config . settings ,
651+ localSettingsForMode ,
652+ ) ;
652653
653654 const interactive = resolveExecInteractive ( {
654655 stdinTTY : input . isTTY ,
You can’t perform that action at this time.
0 commit comments