Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

fix(install): Suppress error when getting installed package version #84

Merged
merged 1 commit into from
May 30, 2024

Conversation

fguimond
Copy link
Contributor

When the script verifies if there's already an installed version of the OpenTelemetry Collector it uses the Get-Pacakge cmdlet. However when the package is not installed it prints an error in red in the terminal but continues the installation process. This PR suppresses that error message and continues the installation.

@fguimond fguimond requested review from a team as code owners May 29, 2024 19:43
Copy link
Contributor

@harshshahsumo harshshahsumo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks straight forward

@fguimond fguimond merged commit 4138166 into main May 30, 2024
39 checks passed
@fguimond fguimond deleted the get-package-error branch May 30, 2024 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants