Replace /users/me
with /me
in middleware.
#8
sonarcloud.yml
on: pull_request
check if SONAR_TOKEN is set in github secrets
0s
Build
1m 38s
Annotations
1 error and 10 warnings
Build
Process completed with exit code 1.
|
Build:
src/Microsoft.Graph.Cli.Core/Authentication/ClientCertificateCredentialFactory.cs#L41
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
|
Build:
src/Microsoft.Graph.Cli.Core/Authentication/ClientCertificateCredentialFactory.cs#L76
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
|
Build:
src/Microsoft.Graph.Cli.Core/Authentication/ClientCertificateCredentialFactory.cs#L32
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
Build:
src/Microsoft.Graph.Cli.Core/Authentication/ClientCertificateCredentialFactory.cs#L40
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
Build:
src/Microsoft.Graph.Cli.Core/Authentication/AppOnlyLoginService.cs#L13
'T' is not used in the class. (https://rules.sonarsource.com/csharp/RSPEC-2326)
|
Build:
src/Microsoft.Graph.Cli.Core/Authentication/AuthenticationServiceFactory.cs#L21
Remove this unread private field 'authenticationOptions' or refactor the code to use its value. (https://rules.sonarsource.com/csharp/RSPEC-4487)
|
Build:
src/Microsoft.Graph.Cli.Core/Commands/Authentication/LoginCommand.cs#L16
Make 'scopesOption' 'readonly'. (https://rules.sonarsource.com/csharp/RSPEC-2933)
|
Build:
src/Microsoft.Graph.Cli.Core/Commands/Authentication/LoginCommand.cs#L22
Make 'clientIdOption' 'readonly'. (https://rules.sonarsource.com/csharp/RSPEC-2933)
|
Build:
src/Microsoft.Graph.Cli.Core/Commands/Authentication/LoginCommand.cs#L24
Make 'tenantIdOption' 'readonly'. (https://rules.sonarsource.com/csharp/RSPEC-2933)
|
Build:
src/Microsoft.Graph.Cli.Core/Commands/Authentication/LoginCommand.cs#L26
Make 'certificateNameOption' 'readonly'. (https://rules.sonarsource.com/csharp/RSPEC-2933)
|