forked from extern/nushell
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))
|
||||
}
|
||||
_ => Err(ShellError::UnsupportedInput(
|
||||
"Record not supported".into(),
|
||||
"'load-env' expects a single record".into(),
|
||||
span,
|
||||
)),
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user