Skip to content

Commit

Permalink
fix(cli): lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
QuiiBz committed May 4, 2023
1 parent 9ff3c54 commit f1e738c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/cli/src/commands/login.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pub async fn login() -> Result<()> {
let end_progress = print_progress("Opening browser...");
let url = config.site_url.clone() + "/cli";

if let Err(_) = webbrowser::open(&url) {
if webbrowser::open(&url).is_err() {
println!("{}", error("Couldn't open browser."));
}

Expand Down

0 comments on commit f1e738c

Please sign in to comment.