Remove extra AppVeyor environment check (#8709)
Removes a check for AppVeyor env ## PR Context AppVeyor removed (#8686 extension)
This commit is contained in:
parent
26da240267
commit
3ab7e2ec4d
|
@ -74,12 +74,8 @@ Describe -Name "Windows MSI" -Fixture {
|
||||||
}
|
}
|
||||||
AfterEach {
|
AfterEach {
|
||||||
if ($Error.Count -ne 0 -and !$uploadedLog) {
|
if ($Error.Count -ne 0 -and !$uploadedLog) {
|
||||||
if ($env:APPVEYOR) {
|
Copy-Item -Path $msiLog -Destination $env:temp -Force
|
||||||
Push-AppveyorArtifact $msiLog
|
Write-Verbose "MSI log is at $env:temp\msilog.txt" -Verbose
|
||||||
} else {
|
|
||||||
Copy-Item -Path $msiLog -Destination $env:temp -Force
|
|
||||||
Write-Verbose "MSI log is at $env:temp\msilog.txt" -Verbose
|
|
||||||
}
|
|
||||||
$uploadedLog = $true
|
$uploadedLog = $true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue