mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-12-27 03:42:39 +00: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:
parent
ed60b69bcc
commit
35d9a9097b
4
Cargo.lock
generated
4
Cargo.lock
generated
@ -1110,9 +1110,9 @@ checksum = "2839e79665f131bdb5782e51f2c6c9599c133c6098982a54c794358bf432529c"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "open"
|
name = "open"
|
||||||
version = "1.7.1"
|
version = "2.0.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "dcea7a30d6b81a2423cc59c43554880feff7b57d12916f231a79f8d6d9470201"
|
checksum = "970d0e0b8f5f39e6090f3d612e3a17b8e02b91c860fe9eb33665d1aed1f6f37f"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"pathdiff",
|
"pathdiff",
|
||||||
"winapi",
|
"winapi",
|
||||||
|
@ -56,7 +56,7 @@ pest_derive = "2.1.0"
|
|||||||
regex = "1.5.4"
|
regex = "1.5.4"
|
||||||
os_info = "3.0.6"
|
os_info = "3.0.6"
|
||||||
urlencoding = "2.1.0"
|
urlencoding = "2.1.0"
|
||||||
open = "1.7.1"
|
open = "2.0.0"
|
||||||
unicode-width = "0.1.8"
|
unicode-width = "0.1.8"
|
||||||
term_size = "0.3.2"
|
term_size = "0.3.2"
|
||||||
quick-xml = "0.22.0"
|
quick-xml = "0.22.0"
|
||||||
|
@ -24,10 +24,7 @@ pub fn create() {
|
|||||||
let link = make_github_issue_link(environment);
|
let link = make_github_issue_link(environment);
|
||||||
let short_link = shorten_link(&link);
|
let short_link = shorten_link(&link);
|
||||||
|
|
||||||
if open::that(&link)
|
if open::that(&link).is_ok() {
|
||||||
.map(|status| status.success())
|
|
||||||
.unwrap_or(false)
|
|
||||||
{
|
|
||||||
println!("Take a look at your browser. A GitHub issue has been populated with your configuration.");
|
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");
|
println!("If your browser has failed to open, please click this link:\n");
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user