File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ Note: the PSScriptAnalyzer Chocolatey package is provided and supported by the c
106
106
#### Requirements
107
107
108
108
* [ .NET Core 3.1.100 SDK] ( https://www.microsoft.com/net/download/dotnet-core/3.1#sdk-3.1.100 ) or newer patch release
109
- * [ PlatyPS 0.13.0 or greater ] ( https://github.com/PowerShell/platyPS/releases )
109
+ * [ PlatyPS PowerShell module, available on PowerShell Gallery ] ( https://github.com/PowerShell/platyPS/releases )
110
110
* Optionally but recommended for development: [ Visual Studio 2017/2019] ( https://www.visualstudio.com/downloads/ )
111
111
112
112
#### Steps
Original file line number Diff line number Diff line change @@ -20,15 +20,14 @@ function Invoke-AppVeyorInstall {
20
20
}
21
21
}
22
22
23
- $platyPSVersion = ' 0.13.0'
24
23
if ($null -eq (Get-Module - ListAvailable PowershellGet)) {
25
24
# WMF 4 image build
26
25
Write-Verbose - Verbose " Installing platyPS via nuget"
27
- nuget install platyPS - Version $platyPSVersion - source https:// www.powershellgallery.com / api/ v2 - outputDirectory " $Env: ProgramFiles \WindowsPowerShell\Modules\." - ExcludeVersion
26
+ nuget install platyPS - source https:// www.powershellgallery.com / api/ v2 - outputDirectory " $Env: ProgramFiles \WindowsPowerShell\Modules\." - ExcludeVersion
28
27
}
29
28
else {
30
29
Write-Verbose - Verbose " Installing platyPS via Install-Module"
31
- Install-Module - Name platyPS - Force - Scope CurrentUser - RequiredVersion $platyPSVersion - Repository PSGallery
30
+ Install-Module - Name platyPS - Force - Scope CurrentUser - Repository PSGallery
32
31
}
33
32
34
33
# Do not use 'build.ps1 -bootstrap' option for bootstraping the .Net SDK as it does not work well in CI with the AppVeyor Ubuntu image
You can’t perform that action at this time.
0 commit comments