Skip to content

Commit

Permalink
[Wasm] Get rid of unsupported sunos in Node.js
Browse files Browse the repository at this point in the history
^KT-72027 fixed
  • Loading branch information
ilgonmic authored and qodana-bot committed Dec 9, 2024
1 parent aabb6b5 commit 31f33a9
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ internal enum class OsType(val osName: String) {
MAC("darwin"),
LINUX("linux"),
FREEBSD("linux"), // https://github.com/node-gradle/gradle-node-plugin/issues/178
SUN("sunos"),
}

internal fun parsePlatform(name: String, arch: String, uname: Provider<String>): Platform {
Expand All @@ -39,7 +38,6 @@ internal fun parseOsType(type: String): OsType {
name.contains("mac") -> OsType.MAC
name.contains("linux") -> OsType.LINUX
name.contains("freebsd") -> OsType.FREEBSD
name.contains("sunos") -> OsType.SUN
else -> error("Unsupported OS: $name")
}
}
Expand Down

0 comments on commit 31f33a9

Please sign in to comment.