1
0
mirror of https://github.com/nushell/nushell.git synced 2025-07-12 20:35:18 +02:00

Fix load-env unsupported input error message ()

This commit is contained in:
Reilly Wood
2022-03-31 14:59:04 -07:00
committed by GitHub
parent 0986c61a5d
commit f692da487e

@ -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,
)), )),
}, },