Skip to content

Commit

Permalink
remove nothing -> record because we have any -> record
Browse files Browse the repository at this point in the history
  • Loading branch information
amtoine committed Jul 20, 2023
1 parent adb6e2a commit 3693423
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions crates/nu-command/src/debug/metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ impl Command for Metadata {

fn signature(&self) -> nu_protocol::Signature {
Signature::build("metadata")
.input_output_types(vec![
(Type::Nothing, Type::Record(vec![])),
(Type::Any, Type::Record(vec![])),
])
.input_output_types(vec![(Type::Any, Type::Record(vec![]))])
.allow_variants_without_examples(true)
.optional(
"expression",
Expand Down

0 comments on commit 3693423

Please sign in to comment.