Skip to content

Commit 4254c07

Browse files
authored
Refactor non-Swift-specific parts out into traced.ts
1 parent 037f65d commit 4254c07

6 files changed

Lines changed: 606 additions & 541 deletions

File tree

‎lib/entry-points.js‎

Lines changed: 64 additions & 53 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/init-action.ts‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ import {
6262
runDatabaseInitCluster,
6363
} from "./init";
6464
import { JavaEnvVars, BuiltInLanguage } from "./languages";
65-
import { isSwiftCompatible } from "./languages/swift";
65+
import { checkRunnerSupportsTracedAnalysis } from "./languages/traced";
6666
import { Logger, withGroupAsync } from "./logging";
6767
import {
6868
downloadOverlayBaseDatabaseFromCache,
@@ -419,7 +419,11 @@ async function run(
419419
logger,
420420
});
421421

422-
await isSwiftCompatible(actionStateWithFeatures, config, codeql);
422+
await checkRunnerSupportsTracedAnalysis(
423+
actionStateWithFeatures,
424+
config,
425+
codeql,
426+
);
423427

424428
if (repositoryPropertiesResult.isFailure()) {
425429
addNoLanguageDiagnostic(

0 commit comments

Comments
 (0)