Skip to content

code clean up

code clean up #52

Triggered via push December 31, 2023 15:12
Status Success
Total duration 51s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

dotnet.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build: AzureB2CUI/CallUserApi/UserApiService.cs#L27
Argument of type 'string?[]' cannot be used for parameter 'scopes' of type 'IEnumerable<string>' in 'Task<string> ITokenAcquisition.GetAccessTokenForUserAsync(IEnumerable<string> scopes, string? tenantId = null, string? userFlow = null, ClaimsPrincipal? user = null, TokenAcquisitionOptions? tokenAcquisitionOptions = null)' due to differences in the nullability of reference types.
build: AzureB2CUI/CallAdminApi/AdminApiService.cs#L28
Argument of type 'string?[]' cannot be used for parameter 'scopes' of type 'IEnumerable<string>' in 'Task<string> ITokenAcquisition.GetAccessTokenForUserAsync(IEnumerable<string> scopes, string? tenantId = null, string? userFlow = null, ClaimsPrincipal? user = null, TokenAcquisitionOptions? tokenAcquisitionOptions = null)' due to differences in the nullability of reference types.
build: RegisterUsersAzureB2CMsGraph/Authz/IsAdminHandlerUsingAzureGroups.cs#L11
Possible null reference assignment.
build: RegisterUsersAzureB2CMsGraph/Authz/IsAdminHandlerUsingAzureGroups.cs#L9
Non-nullable field '_adminGroupId' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build: RegisterUsersAzureB2CMsGraph/Pages/CreateAzureB2CUser.cshtml.cs#L18
Possible null reference assignment.
build: RegisterUsersAzureB2CMsGraph/Pages/CreateAzureB2CUser.cshtml.cs#L14
Non-nullable property 'AadB2CIssuerDomain' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: RegisterUsersAzureB2CMsGraph/Pages/InviteUser.cshtml.cs#L21
Possible null reference assignment.
build: RegisterUsersAzureB2CMsGraph/Pages/InviteUser.cshtml.cs#L17
Non-nullable property 'AadB2CIssuerDomain' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: RegisterUsersAzureB2CMsGraph/Pages/Shared/_LoginPartial.cshtml#L3
Dereference of a possibly null reference.
build: OnboardingAzureB2CCustomInvite/Migrations/20220312075831_init.cs#L7
The type name 'init' only contains lower-cased ascii characters. Such names may become reserved for the language.