mirror of
https://github.com/nushell/nu_scripts.git
synced 2024-09-11 21:57:33 +03:00
Replace deprecated hash base64
with decode
(#531)
Applied in https://github.com/nushell/nushell/issues/5861
This commit is contained in:
parent
28c7e097db
commit
0ca38a46f5
@ -27,7 +27,7 @@ def main [
|
|||||||
if ($payload|columns|find message|is-empty) {
|
if ($payload|columns|find message|is-empty) {
|
||||||
$payload
|
$payload
|
||||||
|get content
|
|get content
|
||||||
|hash base64 --decode
|
|decode base64
|
||||||
|lines
|
|lines
|
||||||
|find $phrase
|
|find $phrase
|
||||||
|if ($in|length) > 0 {
|
|if ($in|length) > 0 {
|
||||||
|
Loading…
Reference in New Issue
Block a user