Skip to content

Commit

Permalink
style: format repair
Browse files Browse the repository at this point in the history
  • Loading branch information
jpgrayson committed Jul 28, 2024
1 parent 4b53e2c commit 60ffa83
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/stack/stack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,12 @@ impl<'repo> Stack<'repo> {
let mut local_config_file = self.repo.local_config_file()?;

if protect {
local_config_file.set_raw_value_by(section, Some(subsection.into()), "protect", "true")?;
local_config_file.set_raw_value_by(
section,
Some(subsection.into()),
"protect",
"true",
)?;
} else {
if let Ok(mut value) =
local_config_file.raw_value_mut_by(section, Some(subsection.into()), "protect")
Expand Down

0 comments on commit 60ffa83

Please sign in to comment.