Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix(shim): Don't throw if command was not found #6231

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

o-l-a-v
Copy link

@o-l-a-v o-l-a-v commented Nov 20, 2024

Description

libexec\scoop-shim.ps1 function Get-ShimInfo should not throw if command was not found.

Motivation and Context

Closes #6206

How Has This Been Tested?

It was a small change, just adding -ErrorAction Ignore.

Checklist:

  • I have read the Contributing Guide.
  • I have ensured that I am targeting the develop branch.
  • I have updated the documentation accordingly.
  • I have updated the tests accordingly.
    • I don't know how this can be tested.
  • I have added an entry in the CHANGELOG.

@o-l-a-v o-l-a-v changed the title fix (shim): Don't throw if command was not found fix(shim): Don't throw if command was not found Nov 26, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant