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:
parent
c6b3ecf21c
commit
40459e646d
1 changed files with 1 additions and 1 deletions
|
@ -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 }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue