From 671e22b7b052a173bbceab5024445d6a7d06ea7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Riegel?= Date: Sun, 30 Mar 2025 19:37:46 +0200 Subject: [PATCH] fix cmd signature --- crates/nu-command/src/conversions/into/datetime.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/nu-command/src/conversions/into/datetime.rs b/crates/nu-command/src/conversions/into/datetime.rs index e11dc60782..b25ce01f88 100644 --- a/crates/nu-command/src/conversions/into/datetime.rs +++ b/crates/nu-command/src/conversions/into/datetime.rs @@ -77,8 +77,7 @@ impl Command for IntoDatetime { (Type::String, Type::Date), (Type::List(Box::new(Type::String)), Type::List(Box::new(Type::Date))), (Type::table(), Type::table()), - (Type::record(), Type::record()), - (Type::Nothing, Type::table()), + (Type::record(), Type::Date), // FIXME Type::Any input added to disable pipeline input type checking, as run-time checks can raise undesirable type errors // which aren't caught by the parser. see https://github.com/nushell/nushell/pull/14922 for more details // only applicable for --list flag