From f08145a23a42b9da9ee537b5221fa8e2e568c867 Mon Sep 17 00:00:00 2001 From: Reilly Wood <26268125+rgwood@users.noreply.github.com> Date: Thu, 7 Mar 2024 03:54:54 -0800 Subject: [PATCH] Remove unused/incorrect input type from `start` (#12107) As noted in https://github.com/nushell/nushell.github.io/pull/1287, `start` _says_ that it can be piped a string but it does not actually do anything with that string. Fixed. --- crates/nu-command/src/filesystem/start.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/nu-command/src/filesystem/start.rs b/crates/nu-command/src/filesystem/start.rs index f1a6338f3f..c08dd7181f 100644 --- a/crates/nu-command/src/filesystem/start.rs +++ b/crates/nu-command/src/filesystem/start.rs @@ -29,7 +29,7 @@ impl Command for Start { fn signature(&self) -> nu_protocol::Signature { Signature::build("start") - .input_output_types(vec![(Type::Nothing, Type::Any), (Type::String, Type::Any)]) + .input_output_types(vec![(Type::Nothing, Type::Any)]) .required("path", SyntaxShape::String, "Path to open.") .category(Category::FileSystem) }