From 6f3420d11e63936afa485eb1ae73f34e28e817bc Mon Sep 17 00:00:00 2001 From: jhoneill Date: Thu, 6 Dec 2018 20:15:45 +0000 Subject: [PATCH] Revert "path fix" This reverts commit 234615dfdb0bb154041c03c6fdafd3b7cf05716b. --- DoTests.ps1 | 1 - 1 file changed, 1 deletion(-) diff --git a/DoTests.ps1 b/DoTests.ps1 index 2d2aa9d..801d3dc 100644 --- a/DoTests.ps1 +++ b/DoTests.ps1 @@ -15,7 +15,6 @@ $ModuleVersion = (Get-Content -Raw .\ImportExcel.psd1) | Invoke-Expression | Fo if (!$DontCreateZip) { if ($null -eq $env:BUILD_ARTIFACTSTAGINGDIRECTORY) {$env:BUILD_ARTIFACTSTAGINGDIRECTORY = '.'} - elseif (-not (test-path -Path $env:BUILD_ARTIFACTSTAGINGDIRECTORY -PathType Container)) {mkdir -path $env:BUILD_ARTIFACTSTAGINGDIRECTORY -Verbose} $dest = Join-Path -Path $env:BUILD_ARTIFACTSTAGINGDIRECTORY -ChildPath ("ImportExcel-{0}-{1}.zip" -f $ModuleVersion, (Get-Date).ToString("yyyyMMddHHmmss")) Compress-Archive -Path . -DestinationPath $dest -Verbose }