Skip to content

Commit

Permalink
Merge pull request #84 from SumoLogic/get-package-error
Browse files Browse the repository at this point in the history
fix(install): Suppress error when getting installed package version
  • Loading branch information
fguimond authored May 30, 2024
2 parents 2a146ee + 8e265e8 commit 4138166
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install-script/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ function Get-InstalledApplicationVersion {
}

function Get-InstalledPackageVersion {
$package = Get-Package -name "OpenTelemetry Collector"
$package = Get-Package -name "OpenTelemetry Collector" -EA Ignore

if ($package -eq $null) {
return
Expand Down

0 comments on commit 4138166

Please sign in to comment.