forked from extern/nushell
fix build warnings & add CI
This commit is contained in:
@ -114,7 +114,7 @@ pub fn config(
|
||||
let key = v.to_string();
|
||||
|
||||
if result.contains_key(&key) {
|
||||
result.remove(&key);
|
||||
result.swap_remove(&key);
|
||||
config::write_config(&result)?;
|
||||
} else {
|
||||
return Err(ShellError::string(&format!(
|
||||
|
Reference in New Issue
Block a user