Skip to content

Commit 71b53b2

Browse files
committed
fmt
1 parent e896cf5 commit 71b53b2

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

codex-rs/execpolicy/src/amend.rs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,10 @@ fn append_locked_line(policy_path: &Path, line: &str) -> Result<(), AmendError>
9797
path: policy_path.clone(),
9898
source,
9999
})?;
100-
file.lock()
101-
.map_err(|source| AmendError::LockPolicyFile {
102-
path: policy_path.clone(),
103-
source,
104-
})?;
100+
file.lock().map_err(|source| AmendError::LockPolicyFile {
101+
path: policy_path.clone(),
102+
source,
103+
})?;
105104

106105
let len = file
107106
.metadata()

0 commit comments

Comments
 (0)