Skip to content

Commit 6ec79a8

Browse files
committed
fix: use macos for platform in url scheme
1 parent 948cd1b commit 6ec79a8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/platform.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ pub fn platform_name() -> &'static str {
1515

1616
#[cfg(target_os = "macos")]
1717
pub fn platform_name() -> &'static str {
18-
"darwin"
18+
"macos"
1919
}

src/shell.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ pub enum Shell {
2323
impl Default for Shell {
2424
fn default() -> Self {
2525
match platform_name() {
26-
"linux" | "darwin" => Self::Bash,
26+
"linux" | "macos" => Self::Bash,
2727
"windows" => Self::Powershell,
2828
platform => {
2929
error!("Unknown platform {platform} received");

0 commit comments

Comments
 (0)