mirror of
https://github.com/nushell/nushell.git
synced 2025-04-16 17:28:19 +02:00
Fix load-env unsupported input error message (#5039)
This commit is contained in:
parent
0986c61a5d
commit
f692da487e
2
crates/nu-command/src/env/load_env.rs
vendored
2
crates/nu-command/src/env/load_env.rs
vendored
@ -76,7 +76,7 @@ impl Command for LoadEnv {
|
|||||||
Ok(PipelineData::new(call.head))
|
Ok(PipelineData::new(call.head))
|
||||||
}
|
}
|
||||||
_ => Err(ShellError::UnsupportedInput(
|
_ => Err(ShellError::UnsupportedInput(
|
||||||
"Record not supported".into(),
|
"'load-env' expects a single record".into(),
|
||||||
span,
|
span,
|
||||||
)),
|
)),
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user