diff --git a/crates/nu-command/src/debug/metadata.rs b/crates/nu-command/src/debug/metadata.rs index d4c8ff8567..2faa35cd59 100644 --- a/crates/nu-command/src/debug/metadata.rs +++ b/crates/nu-command/src/debug/metadata.rs @@ -20,7 +20,7 @@ impl Command for Metadata { fn signature(&self) -> nu_protocol::Signature { Signature::build("metadata") - .input_output_types(vec![(Type::Nothing, Type::Record(vec![]))]) + .input_output_types(vec![(Type::Any, Type::Record(vec![]))]) .allow_variants_without_examples(true) .optional( "expression",