Clean up commented-out code (#1369)
This commit is contained in:
Родитель
13462d4b56
Коммит
4aa80d7b54
|
@ -10,10 +10,6 @@ param
|
||||||
)
|
)
|
||||||
pushd $path
|
pushd $path
|
||||||
|
|
||||||
# Download temporary version of Archive module that fixes issue on macOS/Linux with path separator
|
|
||||||
#Invoke-WebRequest -Uri "https://raw.githubusercontent.com/PowerShell/Microsoft.PowerShell.Archive/master/Microsoft.PowerShell.Archive/Microsoft.PowerShell.Archive.psm1" -OutFile .\archive.psm1
|
|
||||||
#Import-Module .\archive.psm1
|
|
||||||
|
|
||||||
# Ensure Powershell.Archive minimum version 1.2.3.0 is installed. That fixes a path separator issue on macOS/Linux.
|
# Ensure Powershell.Archive minimum version 1.2.3.0 is installed. That fixes a path separator issue on macOS/Linux.
|
||||||
# An "ObjectNotFound" error can result from a temporary Powershell module repository outage.
|
# An "ObjectNotFound" error can result from a temporary Powershell module repository outage.
|
||||||
$ver = (Get-Command -Module Microsoft.PowerShell.Archive | Select-Object -Property version -First 1).Version.ToString()
|
$ver = (Get-Command -Module Microsoft.PowerShell.Archive | Select-Object -Property version -First 1).Version.ToString()
|
||||||
|
|
Загрузка…
Ссылка в новой задаче