Skip to content

Commit 4d12a6d

Browse files
switching to artifacts directory if present
1 parent fed6be7 commit 4d12a6d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

PSModuleDevelopment/tests/functions/Templates.Tests.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
Describe "Verifying templating component" {
22
BeforeAll {
33
$outPath = [System.IO.Path]::GetTempPath().Trim("\/")
4+
if ($env:System_ArtifactsDirectory) { $outPath = $env:System_ArtifactsDirectory.Trim("\/") }
45
$resourcePath = Resolve-PSFPath -Path "$PSScriptRoot\..\resources"
56
$templateName = 'TestTemplate-{0}' -f (Get-Random)
67
}

0 commit comments

Comments
 (0)