mirror of
https://github.com/nushell/nushell.git
synced 2024-11-07 09:04:18 +01:00
add binary as input to hash commands (#13923)
# Description This allows `hash sha256` to support binary input. The code was there but the signature wasn't. closes #13916
This commit is contained in:
parent
71d604067a
commit
63f9e273b3
@ -49,6 +49,7 @@ where
|
||||
.category(Category::Hash)
|
||||
.input_output_types(vec![
|
||||
(Type::String, Type::Any),
|
||||
(Type::Binary, Type::Any),
|
||||
(Type::table(), Type::table()),
|
||||
(Type::record(), Type::record()),
|
||||
])
|
||||
|
Loading…
Reference in New Issue
Block a user