Throw error on Windows too

This commit is contained in:
Henry Mercer
2026-04-09 16:52:50 +01:00
parent 43d8420a42
commit 5a17511bf0
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -110299,9 +110299,9 @@ async function run(startedAt) {
enableFileCoverageInformation: fileCoverageResult.enabled,
logger
});
if (config.languages.includes("swift" /* swift */) && process.platform === "linux") {
if (config.languages.includes("swift" /* swift */) && process.platform !== "darwin") {
throw new ConfigurationError(
`Swift analysis on Ubuntu runner images is no longer supported. Please migrate to a macOS runner.`
`Swift analysis is only supported on macOS runner images. Please migrate to a macOS runner.`
);
}
if (repositoryPropertiesResult.isFailure()) {