Skip to content

Commit b00ba39

Browse files
github-actions[bot]henrymercer
authored andcommitted
Rebuild
1 parent a5596c3 commit b00ba39

6 files changed

Lines changed: 15 additions & 15 deletions

File tree

‎src/config-utils.test.ts‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1207,7 +1207,7 @@ checkOverlayEnablementMacro.serial(
12071207
features: [Feature.OverlayAnalysis, Feature.OverlayAnalysisJavascript],
12081208
codeScanningConfig: {
12091209
packs: ["some-custom-pack@1.0.0"],
1210-
} as UserConfig,
1210+
},
12111211
isDefaultBranch: true,
12121212
},
12131213
{
@@ -1444,7 +1444,7 @@ checkOverlayEnablementMacro.serial(
14441444
],
14451445
codeScanningConfig: {
14461446
"disable-default-queries": true,
1447-
} as UserConfig,
1447+
},
14481448
isDefaultBranch: true,
14491449
},
14501450
{
@@ -1462,7 +1462,7 @@ checkOverlayEnablementMacro.serial(
14621462
],
14631463
codeScanningConfig: {
14641464
packs: ["some-custom-pack@1.0.0"],
1465-
} as UserConfig,
1465+
},
14661466
isDefaultBranch: true,
14671467
},
14681468
{
@@ -1480,7 +1480,7 @@ checkOverlayEnablementMacro.serial(
14801480
],
14811481
codeScanningConfig: {
14821482
queries: [{ uses: "some-query.ql" }],
1483-
} as UserConfig,
1483+
},
14841484
isDefaultBranch: true,
14851485
},
14861486
{
@@ -1498,7 +1498,7 @@ checkOverlayEnablementMacro.serial(
14981498
],
14991499
codeScanningConfig: {
15001500
"query-filters": [{ include: { "security-severity": "high" } }],
1501-
} as UserConfig,
1501+
},
15021502
isDefaultBranch: true,
15031503
},
15041504
{
@@ -1562,7 +1562,7 @@ checkOverlayEnablementMacro.serial(
15621562
features: [Feature.OverlayAnalysis, Feature.OverlayAnalysisJavascript],
15631563
codeScanningConfig: {
15641564
packs: ["some-custom-pack@1.0.0"],
1565-
} as UserConfig,
1565+
},
15661566
isPullRequest: true,
15671567
},
15681568
{
@@ -1705,7 +1705,7 @@ checkOverlayEnablementMacro.serial(
17051705
],
17061706
codeScanningConfig: {
17071707
"disable-default-queries": true,
1708-
} as UserConfig,
1708+
},
17091709
isPullRequest: true,
17101710
},
17111711
{
@@ -1723,7 +1723,7 @@ checkOverlayEnablementMacro.serial(
17231723
],
17241724
codeScanningConfig: {
17251725
packs: ["some-custom-pack@1.0.0"],
1726-
} as UserConfig,
1726+
},
17271727
isPullRequest: true,
17281728
},
17291729
{
@@ -1741,7 +1741,7 @@ checkOverlayEnablementMacro.serial(
17411741
],
17421742
codeScanningConfig: {
17431743
queries: [{ uses: "some-query.ql" }],
1744-
} as UserConfig,
1744+
},
17451745
isPullRequest: true,
17461746
},
17471747
{
@@ -1759,7 +1759,7 @@ checkOverlayEnablementMacro.serial(
17591759
],
17601760
codeScanningConfig: {
17611761
"query-filters": [{ include: { "security-severity": "high" } }],
1762-
} as UserConfig,
1762+
},
17631763
isPullRequest: true,
17641764
},
17651765
{

‎src/debug-artifacts.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ export function getArtifactSuffix(matrix: string | undefined): string {
263263
try {
264264
const matrixObject = JSON.parse(matrix);
265265
if (json.isObject(matrixObject)) {
266-
for (const matrixKey of Object.keys(matrixObject as object).sort())
266+
for (const matrixKey of Object.keys(matrixObject).sort())
267267
suffix += `-${matrixObject[matrixKey]}`;
268268
} else {
269269
core.warning("User-specified `matrix` input is not an object.");

‎src/feature-flags.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ class OfflineFeatures implements FeatureEnablement {
435435
getFeatureConfig(feature: Feature): FeatureConfig {
436436
// Narrow the type to FeatureConfig to avoid type errors. To avoid unsafe use of `as`, we
437437
// check that the required properties exist using `satisfies`.
438-
return featureConfig[feature] satisfies FeatureConfig as FeatureConfig;
438+
return featureConfig[feature] satisfies FeatureConfig;
439439
}
440440

441441
/**

‎src/init-action-post-helper.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ async function testFailedSarifUpload(
602602
uploadFiles.resolves({
603603
sarifID: "42",
604604
statusReport: { raw_upload_size_bytes: 20, zipped_upload_size_bytes: 10 },
605-
} as uploadLib.UploadResult);
605+
});
606606
const waitForProcessing = sinon.stub(uploadLib, "waitForProcessing");
607607

608608
const features = [] as Feature[];

‎src/upload-sarif.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const postProcessAndUploadSarifMacro = makeMacro({
6767
const analysisConfig = getAnalysisConfig(analysisKind);
6868
uploadPostProcessedFiles
6969
.withArgs(logger, sinon.match.any, analysisConfig, sinon.match.any)
70-
.resolves(expectedResult[analysisKind as AnalysisKind]?.uploadResult);
70+
.resolves(expectedResult[analysisKind]?.uploadResult);
7171
}
7272

7373
const fullSarifPaths = sarifFiles.map(toFullPath);

‎src/workflow.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ async function testLanguageAliases(
422422
],
423423
},
424424
},
425-
} as Workflow,
425+
},
426426
codeql,
427427
);
428428

0 commit comments

Comments
 (0)