Skip to content

Commit 07fe8b4

Browse files
committed
fix: sendConfigChangedAnalytics should accept string and boolean since config interface has both types
1 parent 6f8f68a commit 07fe8b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/snyk/common/configuration/securityAtInceptionHandler.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ function sendConfigChangedAnalytics(
3939
logger: ILog,
4040
user: User,
4141
field: keyof SecurityAtInceptionConfig,
42-
oldValue: boolean,
43-
newValue: boolean,
42+
oldValue: string | boolean,
43+
newValue: string | boolean,
4444
): void {
4545
const analyticsSender = AnalyticsSender.getInstance(logger, configuration, vsCodeCommands, extension.contextService);
4646

0 commit comments

Comments
 (0)