Rename isSwiftCompatible

This commit is contained in:
Michael B. Gale
2026-10-23 12:07:19 +01:00
parent 0c057be418
commit fbf3125415
4 changed files with 12 additions and 12 deletions

4
lib/entry-points.js generated
View File

@@ -186046,7 +186046,7 @@ async function getToolsInput(action, repositoryProperties) {
}
// src/languages/swift.ts
function isSwiftCompatible(action, config) {
function checkSwiftCompatibility(action, config) {
if (config.languages.includes("swift" /* swift */) && action.platform !== "darwin") {
throw new ConfigurationError(
`Swift analysis is only supported on macOS runner images. Please migrate to a macOS runner.`
@@ -186573,7 +186573,7 @@ async function run3(actionState) {
enableFileCoverageInformation: fileCoverageResult.enabled,
logger: logger2
});
isSwiftCompatible(actionState, config);
checkSwiftCompatibility(actionState, config);
if (repositoryPropertiesResult.isFailure()) {
addNoLanguageDiagnostic(
config,