1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-01 14:47:47 +00:00

Fix winget-completions.nu for nushell v0.78 closure syntax change (#443)

This commit is contained in:
Jan Klass 2023-04-11 20:52:33 +02:00 committed by GitHub
parent c6b3ecf21c
commit 40459e646d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,7 +93,7 @@ def "winget show" [
} else {
let header = ($output | first | parse -r 'Found (?P<Name>.+) \[(?P<Id>.+)\]')
let manifest = ($output | skip 1 | str join (char newline) | from yaml)
$header | first | merge { $manifest }
$header | first | merge {|| $manifest }
}
}
}