Skip to content

Commit 9932307

Browse files
committed
Fix lint
1 parent 473f2a7 commit 9932307

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/Elastic.Documentation.Services.Tests/ChangelogServiceTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5208,6 +5208,7 @@ public async Task CreateChangelog_WithMixedPrsFromFileAndCommaSeparated_Processe
52085208
yamlContents.Should().Contain(c => c.Contains("pr: https://github.com/elastic/elasticsearch/pull/2222"));
52095209
}
52105210

5211+
[SuppressMessage("Security", "CA5350:Do not use insecure cryptographic algorithm SHA1", Justification = "SHA1 is required for compatibility with existing changelog bundle format")]
52115212
private static string ComputeSha1(string content)
52125213
{
52135214
var bytes = System.Text.Encoding.UTF8.GetBytes(content);

0 commit comments

Comments
 (0)