From 468a0490c30039b145e1d40253db8affc060c13c Mon Sep 17 00:00:00 2001 From: pmaytak <34331512+pmaytak@users.noreply.github.com> Date: Wed, 2 Aug 2023 20:11:52 -0700 Subject: [PATCH] Fix --- .github/workflows/benchmark-action.yml | 4 ++-- .../Internal/Requests/ClientCredentialRequest.cs | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/benchmark-action.yml b/.github/workflows/benchmark-action.yml index 9225527616..a42be3f918 100644 --- a/.github/workflows/benchmark-action.yml +++ b/.github/workflows/benchmark-action.yml @@ -38,11 +38,11 @@ jobs: name: BenchmarkDotNet Benchmark tool: 'benchmarkdotnet' output-file-path: tests/Microsoft.Identity.Test.Performance/BenchmarkDotNet.Artifacts/results/Microsoft.Identity.Test.Performance.AcquireTokenNoCacheTests-report-full-compressed.json - #github-token: ${{ secrets.GITHUB_TOKEN }} + github-token: ${{ secrets.GITHUB_TOKEN }} # auto-push: true external-data-json-path: ./cache/benchmark-data.json # Show alert with commit comment on detecting possible performance regression - alert-threshold: '10%' + alert-threshold: '1%' comment-on-alert: true fail-on-alert: true alert-comment-cc-users: '@pmaytak' diff --git a/src/client/Microsoft.Identity.Client/Internal/Requests/ClientCredentialRequest.cs b/src/client/Microsoft.Identity.Client/Internal/Requests/ClientCredentialRequest.cs index 2c33c6a5a6..2280c59a58 100644 --- a/src/client/Microsoft.Identity.Client/Internal/Requests/ClientCredentialRequest.cs +++ b/src/client/Microsoft.Identity.Client/Internal/Requests/ClientCredentialRequest.cs @@ -29,7 +29,6 @@ public ClientCredentialRequest( protected override async Task ExecuteAsync(CancellationToken cancellationToken) { - var temp = "string"; if (AuthenticationRequestParameters.Scope == null || AuthenticationRequestParameters.Scope.Count == 0) { throw new MsalClientException(