Skip to content

Commit aeac6ec

Browse files
committed
Drive-by: more type appeasing
1 parent 1e5200d commit aeac6ec

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

lib/autobuild.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/autobuild.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ export async function determineAutobuildLanguages(
2020
): Promise<Language[] | undefined> {
2121
if (
2222
(config.buildMode === BuildMode.None &&
23-
(await codeql.supportsFeature(ToolsFeature.TraceCommandUseBuildMode))) ||
23+
(await codeql.supportsFeature(
24+
ToolsFeature.TraceCommandUseBuildMode as ToolsFeature,
25+
))) ||
2426
config.buildMode === BuildMode.Manual
2527
) {
2628
logger.info(`Using ${config.buildMode} build mode, nothing to autobuild.`);

0 commit comments

Comments
 (0)