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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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