Skip to content

Commit

Permalink
VCI-237: Fix sonar.branch.target condition
Browse files Browse the repository at this point in the history
  • Loading branch information
krankenbro committed Dec 17, 2021
1 parent dbbb53c commit 22b4907
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/VirtoCommerce.Build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,7 @@ private async Task<string> SendSwaggerSchemaToValidator(HttpClient httpClient, s
.SetBranchName(branchName)
.SetProcessArgumentConfigurator(args =>
{
if (_sonarLongLiveBranches.Contains(branchName))
if (!_sonarLongLiveBranches.Contains(branchName))
{
args = args.Add($"/d:\"sonar.branch.target={branchNameTarget}\"");
}
Expand Down

0 comments on commit 22b4907

Please sign in to comment.