Skip to content

Commit 5a17511

Browse files
committed
Throw error on Windows too
1 parent 43d8420 commit 5a17511

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/init-action.js

Lines changed: 2 additions & 2 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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,10 +391,10 @@ async function run(startedAt: Date) {
391391

392392
if (
393393
config.languages.includes(KnownLanguage.swift) &&
394-
process.platform === "linux"
394+
process.platform !== "darwin"
395395
) {
396396
throw new ConfigurationError(
397-
`Swift analysis on Ubuntu runner images is no longer supported. Please migrate to a macOS runner.`,
397+
`Swift analysis is only supported on macOS runner images. Please migrate to a macOS runner.`,
398398
);
399399
}
400400

0 commit comments

Comments
 (0)