Skip to content

Commit 71ce8b5

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

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
@@ -540,6 +540,7 @@ export class CliUserConfigValidator extends SnippetShellUserConfigValidator {
540540
return `${key} must be a positive integer`;
541541
}
542542
return null;
543+
case 'disableLogging':
543544
case 'forceDisableTelemetry':
544545
case 'showStackTraces':
545546
if (typeof value !== 'boolean') {

0 commit comments

Comments
 (0)