Run definition over creation
This commit is contained in:
@@ -24,6 +24,7 @@ impl std::fmt::Display for Host {
|
||||
}
|
||||
|
||||
impl Host {
|
||||
// todo: validate ssh config
|
||||
pub fn edit(&mut self) -> Result<Self> {
|
||||
let mut data = toml::to_string_pretty(self)?;
|
||||
|
||||
|
Reference in New Issue
Block a user