Skip to content

Commit 054080c

Browse files
committed
fix(tests): add validation for CliUserConfig
Adds validation for the disableLogging field and fixes the equivalent test.
1 parent ef79cf4 commit 054080c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/types/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,7 @@ export class CliUserConfigValidator extends SnippetShellUserConfigValidator {
528528
return `${key} must be a positive integer`;
529529
}
530530
return null;
531+
case 'disableLogging':
531532
case 'forceDisableTelemetry':
532533
case 'showStackTraces':
533534
if (typeof value !== 'boolean') {

0 commit comments

Comments
 (0)