summaryrefslogtreecommitdiffstats
path: root/src/bug_report.rs
diff options
context:
space:
mode:
authordependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>2020-01-06 12:10:30 -0500
committerMatan Kushner <hello@matchai.me>2020-01-06 12:10:30 -0500
commita251ddb95723f4e99c942c12ac04d43d8965d245 (patch)
tree9d9e71f1e792f0410a3bf6e3f50a4578ad4f002a /src/bug_report.rs
parente05093541997b12efe7b4c020f5c7aaad6ade90c (diff)
build(deps): bump reqwest from 0.9.24 to 0.10.0 (#797)
* build(deps): bump reqwest from 0.9.24 to 0.10.0 Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.9.24 to 0.10.0. - [Release notes](https://github.com/seanmonstar/reqwest/releases) - [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md) - [Commits](https://github.com/seanmonstar/reqwest/compare/v0.9.24...v0.10.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Diffstat (limited to 'src/bug_report.rs')
-rw-r--r--src/bug_report.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bug_report.rs b/src/bug_report.rs
index f63bbd9d8..e78644ac9 100644
--- a/src/bug_report.rs
+++ b/src/bug_report.rs
@@ -21,11 +21,11 @@ pub fn create() {
if open::that(&link).is_ok() {
print!("Take a look at your browser. A GitHub issue has been populated with your configuration")
} else {
- let link = reqwest::Client::new()
+ let link = reqwest::blocking::Client::new()
.post(&format!("{}{}", GIT_IO_BASE_URL, "create"))
.form(&[("url", &link)])
.send()
- .and_then(|mut response| response.text())
+ .and_then(|response| response.text())
.map(|slug| format!("{}{}", GIT_IO_BASE_URL, slug))
.unwrap_or(link);