You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Private/Update-LogicMonitorModule.ps1
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ Function Update-LogicMonitorModule {
46
46
If ($Installed-is [Array]) {
47
47
$InstalledVersion=$Installed[0].Version
48
48
}
49
-
ElseIf ($Installed.Version) {
49
+
Elseif ($Installed.Version) {
50
50
$InstalledVersion=$Installed.Version
51
51
}
52
52
Else {
@@ -65,7 +65,7 @@ Function Update-LogicMonitorModule {
65
65
If ($CheckOnly) {
66
66
Write-LMHost"[INFO]: You are currently using an outdated version ($InstalledVersion) of $Module, please consider upgrading to the latest version ($OnlineVersion) as soon as possible. Use the -AutoUpdateModule switch next time you connect to auto upgrade to the latest version."-ForegroundColor Yellow
67
67
}
68
-
ElseIf ($UninstallFirst-eq$true) {
68
+
Elseif ($UninstallFirst-eq$true) {
69
69
Write-LMHost"[INFO]: You are currently using an outdated version ($InstalledVersion) of $Module, uninstalling prior Module $Module version $InstalledVersion"-ForegroundColor Yellow
0 commit comments