mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-03 15:33:13 +03:00
fix cranky
This commit is contained in:
parent
3d14551ed2
commit
2addf81189
@ -51,7 +51,7 @@ pub async fn commit_virtual_branch(
|
||||
message: "Malformed branch id".to_string(),
|
||||
})?;
|
||||
let ownership = ownership
|
||||
.map(|s| s.parse())
|
||||
.map(str::parse)
|
||||
.transpose()
|
||||
.map_err(|_| Error::UserError {
|
||||
code: Code::Validation,
|
||||
|
Loading…
Reference in New Issue
Block a user