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.
This commit is contained in:
Reilly Wood 2024-03-07 03:54:54 -08:00 committed by GitHub
parent 7cb13ee734
commit f08145a23a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -29,7 +29,7 @@ impl Command for Start {
fn signature(&self) -> nu_protocol::Signature { fn signature(&self) -> nu_protocol::Signature {
Signature::build("start") 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.") .required("path", SyntaxShape::String, "Path to open.")
.category(Category::FileSystem) .category(Category::FileSystem)
} }