From e92678ea2c0ba8f6e3c557004faf4aaec1de0124 Mon Sep 17 00:00:00 2001 From: Stefan Holderbach Date: Thu, 1 Dec 2022 16:26:59 +0100 Subject: [PATCH] Add a deprecation note for removed `build-string` (#7307) Build string was removed for 0.72 by #7144 Adds a deprecation message --- crates/nu-command/src/deprecated/deprecated_commands.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/nu-command/src/deprecated/deprecated_commands.rs b/crates/nu-command/src/deprecated/deprecated_commands.rs index b1d9b9605..b8cb8c7ce 100644 --- a/crates/nu-command/src/deprecated/deprecated_commands.rs +++ b/crates/nu-command/src/deprecated/deprecated_commands.rs @@ -14,5 +14,9 @@ pub fn deprecated_commands() -> HashMap { ("all?".to_string(), "all".to_string()), ("any?".to_string(), "any".to_string()), ("empty?".to_string(), "is-empty".to_string()), + ( + "build-string".to_string(), + "str join'/'string concatenation with '+'".to_string(), + ), ]) }