Skip to content

Commit 51e4ec6

Browse files
committed
Support for space character in the VSTS Agent working directory
1 parent 8fba288 commit 51e4ec6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitVersionTfsTask/GitVersion.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ if (-not $gitVersionPath)
3333
throw (Get-LocalizedString -Key "Unable to locate {0}" -ArgumentList 'gitversion.exe')
3434
}
3535

36-
$argsGitVersion = "$sourcesDirectory" + " /output buildserver /nofetch"
36+
$argsGitVersion = """$sourcesDirectory""" + " /output buildserver /nofetch"
3737

3838
if($updateAssemblyInfoFlag)
3939
{

0 commit comments

Comments
 (0)