We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d0e7a1 commit 43c68d5Copy full SHA for 43c68d5
1 file changed
src/main.rs
@@ -1,4 +1,4 @@
1
-use anyhow::{Context, Result, anyhow};
+use anyhow::{anyhow, Context, Result};
2
use serde::{Deserialize, Serialize};
3
use std::env;
4
use std::io::{self, Write};
@@ -215,7 +215,9 @@ fn confirm_push() -> Result<bool> {
215
io::stderr().flush()?;
216
217
let mut input = String::new();
218
- io::stdin().read_line(&mut input).context("failed to read user input")?;
+ io::stdin()
219
+ .read_line(&mut input)
220
+ .context("failed to read user input")?;
221
222
match input.trim().to_lowercase().as_str() {
223
"y" | "yes" => return Ok(true),
0 commit comments