Skip to content

Commit 2a031a6

Browse files
committed
Fix reading build directory
1 parent 5c5fc5d commit 2a031a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extension/BuildPhpExtension/private/Get-BuildDirectory.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Function Get-BuildDirectory {
99
begin {
1010
}
1111
process {
12-
if ($null -ne $env:BUILD_DIRECTORY) {
12+
if ($null -ne $env:BUILD_DIRECTORY -and $env:BUILD_DIRECTORY -ne "") {
1313
$parentBuildDirectory = $env:BUILD_DIRECTORY
1414
} else {
1515
$parentBuildDirectory = [System.IO.Path]::GetTempPath()

0 commit comments

Comments
 (0)