fix formatting
This commit is contained in:
parent
2abe4b5e10
commit
914ffb70cc
14
src/sbot.rs
14
src/sbot.rs
|
@ -84,18 +84,16 @@ impl Sbot {
|
|||
Keystore::CustomGoSbot(key_path) => {
|
||||
keystore::from_custom_gosbot_keypath(key_path.to_string())
|
||||
.await
|
||||
.unwrap_or_else(|_| panic!(
|
||||
"couldn't read local go-sbot secret from: {}",
|
||||
key_path
|
||||
))
|
||||
.unwrap_or_else(|_| {
|
||||
panic!("couldn't read local go-sbot secret from: {}", key_path)
|
||||
})
|
||||
}
|
||||
Keystore::CustomPatchwork(key_path) => {
|
||||
keystore::from_custom_patchwork_keypath(key_path.to_string())
|
||||
.await
|
||||
.unwrap_or_else(|_| panic!(
|
||||
"couldn't read local patchwork secret from: {}",
|
||||
key_path
|
||||
))
|
||||
.unwrap_or_else(|_| {
|
||||
panic!("couldn't read local patchwork secret from: {}", key_path)
|
||||
})
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue