diff options
| author | Gaurav <[email protected]> | 2025-07-11 14:08:49 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-07-11 21:08:49 +0000 |
| commit | 764809753ad85ecc209aa9b126efbb3390c03274 (patch) | |
| tree | 09042251c458333eec911e0c54f8bcfd163eac95 /packages/cli/src/nonInteractiveCli.ts | |
| parent | a071f604e3880d288304e338bebfa442d729f861 (diff) | |
fix: `TypeError: Cannot read properties of undefined (reading 'authType')` (#3914)
Diffstat (limited to 'packages/cli/src/nonInteractiveCli.ts')
| -rw-r--r-- | packages/cli/src/nonInteractiveCli.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/cli/src/nonInteractiveCli.ts b/packages/cli/src/nonInteractiveCli.ts index 2db28eba..7bc0f6aa 100644 --- a/packages/cli/src/nonInteractiveCli.ts +++ b/packages/cli/src/nonInteractiveCli.ts @@ -160,7 +160,7 @@ export async function runNonInteractive( console.error( parseAndFormatApiError( error, - config.getContentGeneratorConfig().authType, + config.getContentGeneratorConfig()?.authType, ), ); process.exit(1); |
