Skip to content

Commit 51a1ba8

Browse files
committed
Don't reduce VSTS log levels by default
1 parent 42dad5d commit 51a1ba8

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/GitVersionTfsTask/GitVersion.ps1

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,6 @@ if($additionalArguments)
5454
$argsGitVersion = $argsGitVersion + " $additionalArguments"
5555
}
5656

57-
if(!$additionalArguments -or !$additionalArguments.Contains("-debug"))
58-
{
59-
if([string]::IsNullOrEmpty($env:SYSTEM_DEBUG) -or $env:SYSTEM_DEBUG -ne "true"){
60-
$argsGitVersion = $argsGitVersion + " -verbosity Error"
61-
}
62-
}
63-
6457
Write-Host (Get-LocalizedString -Key "Invoking GitVersion with {0}" -ArgumentList $argsGitVersion)
6558

6659
Invoke-Tool -Path $GitVersionPath -Arguments "$argsGitVersion"

0 commit comments

Comments
 (0)