From ebd89d8b217c108eacd0f52949ead44bcb6749be Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Sat, 1 Jul 2023 10:55:25 -0500 Subject: [PATCH] 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`. --- crates/nu-command/src/deprecated/let_env.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/nu-command/src/deprecated/let_env.rs b/crates/nu-command/src/deprecated/let_env.rs index 84ecb214fb..657e1f006e 100644 --- a/crates/nu-command/src/deprecated/let_env.rs +++ b/crates/nu-command/src/deprecated/let_env.rs @@ -36,7 +36,7 @@ impl Command for LetEnvDeprecated { ) -> Result { Err(nu_protocol::ShellError::DeprecatedCommand( self.name().to_string(), - "$nu. = ...".to_owned(), + "$env. = ...".to_owned(), call.head, )) }