diff --git a/eng/common/pipelines/templates/steps/credscan.yml b/eng/common/pipelines/templates/steps/credscan.yml index c57ed7a4d9f1..029b370e0b03 100644 --- a/eng/common/pipelines/templates/steps/credscan.yml +++ b/eng/common/pipelines/templates/steps/credscan.yml @@ -7,7 +7,7 @@ parameters: steps: - pwsh: | if ("$(Build.Reason)" -eq 'PullRequest') { - $targetBranch = "origin/$(System.PullRequest.TargetBranch)" -replace "/refs/heads/" + $targetBranch = "origin/$(System.PullRequest.TargetBranch)" -replace "refs/heads/" $changedFiles = git diff $targetBranch HEAD --name-only --diff-filter=d $changedFiles | ForEach-Object { Add-Content -Path "${{ parameters.SourceDirectory }}/credscan.tsv" -Value "${{ parameters.SourceDirectory }}/$_"} } diff --git a/sdk/eventhub/README.md b/sdk/eventhub/README.md index 562f0dee1516..5b48825d84b1 100644 --- a/sdk/eventhub/README.md +++ b/sdk/eventhub/README.md @@ -34,4 +34,7 @@ Use the following library to work with the Azure Event Hubs resource provider: | Nuget Package | Reference | |--------------------------------------|---------------------------------------------------------------| -| [Azure.ResourceManager.EventHubs](https://www.nuget.org/packages/Azure.ResourceManager.EventHubs) | [API Reference for Azure.ResourceManager.EventHubs](https://docs.microsoft.com/dotnet/api/overview/azure/eventhubs/management?view=azure-dotnet) | \ No newline at end of file +| [Azure.ResourceManager.EventHubs](https://www.nuget.org/packages/Azure.ResourceManager.EventHubs) | [API Reference for Azure.ResourceManager.EventHubs](https://docs.microsoft.com/dotnet/api/overview/azure/eventhubs/management?view=azure-dotnet) | + + +