Skip to content

Commit

Permalink
build: bump open from 1.7.1 to 2.0.0 (#2916)
Browse files Browse the repository at this point in the history
* 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](Byron/open-rs@v1.7.1...v2.0.0)
  • Loading branch information
dependabot[bot] committed Jul 26, 2021
1 parent ed60b69 commit 35d9a90
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -56,7 +56,7 @@ pest_derive = "2.1.0"
regex = "1.5.4"
os_info = "3.0.6"
urlencoding = "2.1.0"
open = "1.7.1"
open = "2.0.0"
unicode-width = "0.1.8"
term_size = "0.3.2"
quick-xml = "0.22.0"
Expand Down
5 changes: 1 addition & 4 deletions src/bug_report.rs
Expand Up @@ -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 {
Expand Down

0 comments on commit 35d9a90

Please sign in to comment.