Skip to content

Commit 2bd10ad

Browse files
authored
Cleanup NET6_0_OR_GREATER symbol (#122202)
Follow-up #109254
1 parent acfe981 commit 2bd10ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tasks/Microsoft.NET.Sdk.WebAssembly.Pack.Tasks/ArtifactWriter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public static bool PersistFileIfChanged(TaskLoggingHelper log, byte[] data, stri
4848

4949
private static string ComputeHash(byte[] data)
5050
{
51-
#if NET6_0_OR_GREATER
51+
#if NET
5252
var hash = SHA256.HashData(data);
5353
return Convert.ToBase64String(hash);
5454
#else

0 commit comments

Comments
 (0)