Replace deprecated hash base64 with decode (#531)

Applied in https://github.com/nushell/nushell/issues/5861
This commit is contained in:
Kenichi Kamiya 2023-06-15 20:14:41 +09:00 committed by GitHub
parent 28c7e097db
commit 0ca38a46f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ def main [
if ($payload|columns|find message|is-empty) {
$payload
|get content
|hash base64 --decode
|decode base64
|lines
|find $phrase
|if ($in|length) > 0 {