mirror of
https://github.com/github/codeql-action.git
synced 2026-11-08 22:19:50 +00:00
Rename isSwiftCompatible
This commit is contained in:
4
lib/entry-points.js
generated
4
lib/entry-points.js
generated
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user