Fix load-env unsupported input error message (#5039)

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

View File

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