mirror of
https://github.com/nushell/nushell
synced 2025-01-13 21:55:07 +00: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
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue