Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

Commit 20ae037

Browse files
committed
Match darwin and macos in the same branch
1 parent c85ee3d commit 20ae037

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/ostype.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ impl FromStr for OsType {
5353
let lower = s.to_lowercase();
5454
match lower.as_str() {
5555
"linux" => Ok(OsType::Linux),
56-
"darwin" => Ok(OsType::Darwin),
57-
"macos" => Ok(OsType::Darwin),
56+
"macos" | "darwin" => Ok(OsType::Darwin),
5857
// TODO: test if this actually matches
5958
"dragonfly" => Ok(OsType::Dragonfly),
6059
// TODO: test if this actually matches

0 commit comments

Comments
 (0)