Skip to content

Commit 81d0bfb

Browse files
committed
fix nullability warning suppression
1 parent 27fb70c commit 81d0bfb

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/Smdn.Extensions.Mtp.LiquidTestReports/Smdn.Extensions.Mtp.LiquidTestReports/LiquidTestReportsConverter.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,12 @@ await outputDevice.DisplayAsync(
248248

249249
if (appendGitHubStepSummary) {
250250
await GitHubActions.AppendStepSummaryAsync(
251-
contents: generatedContent!,
251+
contents:
252+
#if SYSTEM_DIAGNOSTICS_CODEANALYSIS_MEMBERNOTNULLWHENATTRIBUTE
253+
generatedContent,
254+
#else
255+
generatedContent!,
256+
#endif
252257
displayOutputDeviceAsync: DisplayOutputDeviceAsync,
253258
cancellationToken: cancellationToken
254259
).ConfigureAwait(false);

0 commit comments

Comments
 (0)