mirror of
https://github.com/starship/starship.git
synced 2026-06-23 02:05:51 +07:00
build: bump open from 1.7.1 to 2.0.0 (#2916)
* build: bump open from 1.7.1 to 2.0.0 Bumps [open](https://github.com/Byron/open-rs) from 1.7.1 to 2.0.0. - [Release notes](https://github.com/Byron/open-rs/releases) - [Changelog](https://github.com/Byron/open-rs/blob/main/changelog.md) - [Commits](https://github.com/Byron/open-rs/compare/v1.7.1...v2.0.0)
This commit is contained in:
+1
-4
@@ -24,10 +24,7 @@ pub fn create() {
|
||||
let link = make_github_issue_link(environment);
|
||||
let short_link = shorten_link(&link);
|
||||
|
||||
if open::that(&link)
|
||||
.map(|status| status.success())
|
||||
.unwrap_or(false)
|
||||
{
|
||||
if open::that(&link).is_ok() {
|
||||
println!("Take a look at your browser. A GitHub issue has been populated with your configuration.");
|
||||
println!("If your browser has failed to open, please click this link:\n");
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user