Skip to content

Commit

Permalink
fix(tests): add validation for CliUserConfig
Browse files Browse the repository at this point in the history
Adds validation for the disableLogging field and fixes the equivalent test.
  • Loading branch information
gagik committed Jan 26, 2025
1 parent ef79cf4 commit 054080c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/types/src/index.ts
Original file line number Diff line number Diff line change
@@ -528,6 +528,7 @@ export class CliUserConfigValidator extends SnippetShellUserConfigValidator {
return `${key} must be a positive integer`;
}
return null;
case 'disableLogging':
case 'forceDisableTelemetry':
case 'showStackTraces':
if (typeof value !== 'boolean') {

0 comments on commit 054080c

Please sign in to comment.