Skip to content

Commit 61c593a

Browse files
committed
Mark result of appendExtraQueryExclusions as Readonly to prevent further modification
1 parent e9fb72d commit 61c593a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1489,7 +1489,7 @@ export function generateCodeScanningConfig(
14891489
export function appendExtraQueryExclusions(
14901490
extraQueryExclusions: ExcludeQueryFilter[],
14911491
cliConfig: UserConfig,
1492-
): UserConfig {
1492+
): Readonly<UserConfig> {
14931493
if (extraQueryExclusions.length === 0) {
14941494
return cliConfig;
14951495
}

0 commit comments

Comments
 (0)