fix typo in deprecated message: $nu should be $env (#9579)

# Description

This PR fixes a small typeo where it has `$nu` and it should be `$env`.
This commit is contained in:
Darren Schroeder 2023-07-01 10:55:25 -05:00 committed by GitHub
parent 9547c106d3
commit ebd89d8b21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,7 +36,7 @@ impl Command for LetEnvDeprecated {
) -> Result<PipelineData, ShellError> {
Err(nu_protocol::ShellError::DeprecatedCommand(
self.name().to_string(),
"$nu.<environment variable> = ...".to_owned(),
"$env.<environment variable> = ...".to_owned(),
call.head,
))
}