diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 0d9c762..727ed95 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -27,7 +27,7 @@ stages: inputs: targetType: 'inline' script: | - git fetch origin $(Build.SourceBranchName) $(Build.Repository.DefaultBranch) + git fetch origin "$(Build.SourceBranchName)" "$(Build.Repository.DefaultBranch)" $diffResult = git diff --name-only origin/$(Build.Repository.DefaultBranch)...HEAD $folderFound = $false if ([string]::IsNullOrWhiteSpace($diffResult)) {