Fix formatting
This commit is contained in:
parent
b632165443
commit
85e468a995
1 changed files with 2 additions and 4 deletions
|
|
@ -8,7 +8,7 @@ use std::{
|
|||
use clap::{Args, Parser, Subcommand};
|
||||
use config::Config;
|
||||
use directories::ProjectDirs;
|
||||
use miette::{miette, Context, IntoDiagnostic, Result};
|
||||
use miette::{Context, IntoDiagnostic, Result, miette};
|
||||
|
||||
use temp_dir::TempDir;
|
||||
use utils::OptExt;
|
||||
|
|
@ -450,9 +450,7 @@ impl FormatPatch {
|
|||
let interdiff_branch = format!("--interdiff={}", branch.name);
|
||||
format_patch(&[&interdiff_branch])?
|
||||
}
|
||||
(None, Some(diff_to)) => {
|
||||
format_patch(&[&format!("--interdiff={diff_to}")])?
|
||||
},
|
||||
(None, Some(diff_to)) => format_patch(&[&format!("--interdiff={diff_to}")])?,
|
||||
};
|
||||
|
||||
let cover_letter = branch_dir.join(COVER_LETTER_NAME);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue