File tree Expand file tree Collapse file tree 2 files changed +0
-19
lines changed Expand file tree Collapse file tree 2 files changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -168,12 +168,6 @@ if (!$NoBuild.IsPresent) {
168
168
Get-Item " $PSScriptRoot /src/Modules/PackageManagement/1.1.7.0/fullclr" - ErrorAction SilentlyContinue |
169
169
Remove-Item - Recurse - Force - ErrorAction SilentlyContinue
170
170
171
- # TODO: Remove this once the SDK properly bundles modules
172
- Get-WebFile - Url ' https://raw.githubusercontent.com/PowerShell/PowerShell/master/src/Modules/Windows/Microsoft.PowerShell.Utility/Microsoft.PowerShell.Utility.psd1' `
173
- - OutFile " $PSScriptRoot /src/Modules/Microsoft.PowerShell.Utility/Microsoft.PowerShell.Utility.psd1"
174
- Get-WebFile - Url ' https://raw.githubusercontent.com/PowerShell/PowerShell/master/src/Modules/Windows/Microsoft.PowerShell.Management/Microsoft.PowerShell.Management.psd1' `
175
- - OutFile " $PSScriptRoot /src/Modules/Microsoft.PowerShell.Management/Microsoft.PowerShell.Management.psd1"
176
-
177
171
dotnet publish - c $Configuration " /p:BuildNumber=$BuildNumber " $PSScriptRoot
178
172
179
173
if ($AddSBOM )
Original file line number Diff line number Diff line change @@ -164,19 +164,6 @@ function Resolve-ProtoBufToolPath
164
164
}
165
165
}
166
166
167
- function Get-WebFile {
168
- param (
169
- [string ] $Url ,
170
- [string ] $OutFile
171
- )
172
- $directoryName = [System.IO.Path ]::GetDirectoryName($OutFile )
173
- if (! (Test-Path $directoryName )) {
174
- New-Item - Type Directory $directoryName
175
- }
176
- Remove-Item $OutFile - ErrorAction SilentlyContinue
177
- Invoke-RestMethod $Url - OutFile $OutFile
178
- }
179
-
180
167
function Write-Log
181
168
{
182
169
param (
You can’t perform that action at this time.
0 commit comments