summaryrefslogtreecommitdiffstats
path: root/src/bug_report.rs
diff options
context:
space:
mode:
authordependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2021-07-26 11:12:10 -0400
committerGitHub <noreply@github.com>2021-07-26 11:12:10 -0400
commit35d9a9097be89be0b6e4a30547f92858d2404611 (patch)
tree231287b7379ed2d75589730ad08cafc897887f53 /src/bug_report.rs
parented60b69bccc0c67db3a8efbafac54f73bd91d4a8 (diff)
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)
Diffstat (limited to 'src/bug_report.rs')
-rw-r--r--src/bug_report.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/bug_report.rs b/src/bug_report.rs
index 5a2ed061c..95ff20831 100644
--- a/src/bug_report.rs
+++ b/src/bug_report.rs
@@ -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 {