A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/microsoft/PowerShellForGitHub/commit/efdcbfa4a086bd4606ec2c32ef67db8553711781 below:

UpdateCheck must handle when module is newer than published version (… · microsoft/PowerShellForGitHub@efdcbfa · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+5

-1

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+5

-1

lines changed Original file line number Diff line number Diff line change

@@ -81,7 +81,11 @@ function Invoke-UpdateCheck

81 81

$script:HasLatestVersion = $latestVersion -eq $moduleVersion

82 82

if ($script:HasLatestVersion)

83 83

{

84 -

Write-Log "[$moduleName] update check complete. Running latest version: $($latestVersion.ToString())" -Level Verbose

84 +

Write-Log "[$moduleName] update check complete. Running latest version: $latestVersion" -Level Verbose

85 +

}

86 +

elseif ($moduleVersion -gt $latestVersion)

87 +

{

88 +

Write-Log "[$moduleName] update check complete. This version ($moduleVersion) is newer than the latest published version ($latestVersion)." -Level Verbose

85 89

}

86 90

else

87 91

{

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4