Skip to content

Commit

Permalink
Update AddSigningDetails.cs
Browse files Browse the repository at this point in the history
Fixing a coding style that the build pipeline is complaining about
  • Loading branch information
HotCakeX committed Dec 26, 2024
1 parent 50d8b4f commit ef65bc3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions AppControl Manager/SiPolicyIntel/AddSigningDetails.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ internal static SiPolicy.SiPolicy Add(string xmlPolicyFile, string certificateFi
}
else
{
IEnumerable<Signer> signersList = policyObject.PolicyType is not PolicyType.SupplementalPolicy ?
[updatePolicySigner, supplementalPolicySigner] : [updatePolicySigner];
IEnumerable<Signer> signersList = policyObject.PolicyType is not PolicyType.SupplementalPolicy ? [updatePolicySigner, supplementalPolicySigner] : [updatePolicySigner];

policyObject.Signers = [.. signersList];
}
Expand Down

0 comments on commit ef65bc3

Please sign in to comment.