Skip to content

Commit afb4da6

Browse files
committed
Added ($WorkingDirectory = Split-Path $PSScriptRoot) as fallback
in alignment with current templates.
1 parent 1876db5 commit afb4da6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build/vsts-build.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ if (-not $WorkingDirectory)
3030
}
3131
else { $WorkingDirectory = $env:SYSTEM_DEFAULTWORKINGDIRECTORY }
3232
}
33+
if (-not $WorkingDirectory) { $WorkingDirectory = Split-Path $PSScriptRoot }
3334
#endregion Handle Working Directory Defaults
3435

3536
# Prepare publish folder

0 commit comments

Comments
 (0)