write the config after removing a key

This commit is contained in:
Matthew Nicholson 2019-08-25 00:51:12 -04:00
parent 5d34e3a37d
commit f5afbe8984

View File

@ -111,6 +111,7 @@ pub fn config(
if result.contains_key(&key) {
result.remove(&key);
config::write_config(&result)?;
} else {
return Err(ShellError::string(&format!(
"{} does not exist in config",