Remove extra AppVeyor environment check (#8709)

Removes a check for AppVeyor env

## PR Context  
AppVeyor removed (#8686  extension)
This commit is contained in:
Reece Dunham 2019-02-08 13:57:41 -05:00 committed by Travis Plunk
parent 26da240267
commit 3ab7e2ec4d

View file

@ -74,13 +74,9 @@ 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 { $uploadedLog = $true
Copy-Item -Path $msiLog -Destination $env:temp -Force
Write-Verbose "MSI log is at $env:temp\msilog.txt" -Verbose
}
$uploadedLog = $true
} }
} }