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: build.ps1
+3-2
Original file line number
Diff line number
Diff line change
@@ -93,9 +93,10 @@ if ($BuildDocs)
93
93
CreateIfNotExists($outputDocsPath)
94
94
95
95
# Build documentation using platyPS
96
-
if ($null-eq (Get-Module platyPS -ListAvailable -Verbose:$verbosity|Where-Object { $_.Version-ge0.9 }))
96
+
$requiredVersionOfplatyPS=0.9
97
+
if ($null-eq (Get-Module platyPS -ListAvailable -Verbose:$verbosity|Where-Object { $_.Version-ge$requiredVersionOfplatyPS }))
97
98
{
98
-
"Cannot find platyPS. Please install it from https://www.powershellgallery.com/packages/platyPS/ using e.g. the following command: Install-Module platyPS"
99
+
"Cannot find required minimum version $requiredVersionOfplatyPS of platyPS. Please install it from https://www.powershellgallery.com/packages/platyPS/ using e.g. the following command: Install-Module platyPS"
99
100
}
100
101
if ((Get-Module platyPS -Verbose:$verbosity) -eq$null)
0 commit comments