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