mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-02 23:27:45 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue