ScoopInstaller / Scoop

A command-line installer for Windows.
https://scoop.sh
Other
21.16k stars 1.41k forks source link

[Bug] when I run scoop shim list , it's throw error #6206

Open Super1Windcloud opened 2 hours ago

Super1Windcloud commented 2 hours ago

win11 , scoop@latest ,

when I run scoop shim list , it's throw error


| spelling of the name, or if a path was included, verify that the path is correct and try again.
Get-Command: A:\Scoop\apps\scoop\current\libexec\scoop-shim.ps1:79
Line |
  79 |      $info.IsHidden = !((Get-Command -Name $info.Name).Path -eq $info. …
     |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | The term 'Scoop-Decompress.Tests' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the 
     | spelling of the name, or if a path was included, verify that the path is correct and try again.
Get-Command: A:\Scoop\apps\scoop\current\libexec\scoop-shim.ps1:79
Line |
  79 |      $info.IsHidden = !((Get-Command -Name $info.Name).Path -eq $info. …
Super1Windcloud commented 2 hours ago

you Should catch this Error and return $false , instead of throwing on terminal console