mirror of
https://github.com/nushell/nushell.git
synced 2025-08-12 18:58:19 +02:00
Merge branch 'nom2' into nom4
This commit is contained in:
@ -57,7 +57,7 @@ pub fn config(args: CommandArgs) -> Result<OutputStream, ShellError> {
|
||||
|
||||
if let Some(v) = args.get("set") {
|
||||
if let Ok((key, value)) = v.as_pair() {
|
||||
result.insert(key.as_string()?, value.clone());
|
||||
result.insert(key.as_string()?.to_string(), value.clone());
|
||||
|
||||
config::write_config(&result)?;
|
||||
|
||||
|
Reference in New Issue
Block a user