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:
dependabot[bot]
2021-07-26 11:12:10 -04:00
committed by GitHub
parent ed60b69bcc
commit 35d9a9097b
3 changed files with 4 additions and 7 deletions
+1 -4
View File
@@ -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 {