diff options
Diffstat (limited to 'src/repo.rs')
-rw-r--r-- | src/repo.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/repo.rs b/src/repo.rs index 580f3d5..424470f 100644 --- a/src/repo.rs +++ b/src/repo.rs @@ -1,7 +1,7 @@ use std::{io::Write, path::PathBuf, str::FromStr}; use clap::Subcommand; -use eyre::{eyre, OptionExt}; +use eyre::{eyre, Context, OptionExt, Result}; use forgejo_api::{structs::CreateRepoOption, Forgejo}; use url::Url; @@ -541,7 +541,7 @@ impl RepoCommand { .map_err(|_| eyre!("url invalid"))? .extend([repo.owner(), repo.name()]); - open::that(url.as_str())?; + open::that_detached(url.as_str()).wrap_err("Failed to open URL")?; } }; Ok(()) |