mirror of
https://github.com/github/codeql-action.git
synced 2026-04-26 08:48:46 +00:00
Throw error on Windows too
This commit is contained in:
+2
-2
@@ -391,10 +391,10 @@ async function run(startedAt: Date) {
|
||||
|
||||
if (
|
||||
config.languages.includes(KnownLanguage.swift) &&
|
||||
process.platform === "linux"
|
||||
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.`,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user