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
* Upgrade to platyPS Version 0.9
* improve check, error message and spelling in build tools (and a PSSA warning about incorrect comparison with $null
* fix wrong version number
throw"Cannot find PlatyPS. Please install it from https://www.powershellgallery.com."
205
+
if ($null-eq(Get-ModuleplatyPS-ListAvailable-Verbose:$verbosity|Where-Object { $_.Version-ge0.9 })) {
206
+
throw"Cannot find platyPS of version greater or equal to 0.9. Please install it from https://www.powershellgallery.com/packages/platyPS/ using e.g. the following command: Install-Module platyPS"
207
207
}
208
-
Import-ModulePlatyPS
208
+
Import-ModuleplatyPS
209
209
if (-not (Test-Path$markdownDocsPath-Verbose:$verbosity)) {
if ((Get-ModulePlatyPS-ListAvailable -Verbose:$verbosity) -eq$null)
98
+
if ($null-eq(Get-ModuleplatyPS-ListAvailable -Verbose:$verbosity|Where-Object { $_.Version-ge0.5 }))
99
99
{
100
-
throw"Cannot find PlatyPS. Please install it from https://www.powershellgallery.com."
100
+
"Cannot find platyPS. Please install it from https://www.powershellgallery.com/packages/platyPS/ using e.g. the following command: Install-Module platyPS"
101
101
}
102
-
if ((Get-ModulePlatyPS-Verbose:$verbosity) -eq$null)
102
+
if ((Get-ModuleplatyPS-Verbose:$verbosity) -eq$null)
103
103
{
104
-
Import-ModulePlatyPS-Verbose:$verbosity
104
+
Import-ModuleplatyPS-Verbose:$verbosity
105
105
}
106
106
if (-not (Test-Path$markdownDocsPath-Verbose:$verbosity))
0 commit comments