Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
thomhurst committed Jan 9, 2025
1 parent f4ff978 commit 312fb87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TUnit.Engine/Reporters/GitHubReporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@ public Task AfterRunAsync(int exitCode, CancellationToken cancellation)
private Task WriteFile(string contents)
{
#if NET
return File.AppendAllTextAsync(_outputSummaryFilePath, stringBuilder.ToString(), Encoding.UTF8, cancellation);
return File.AppendAllTextAsync(_outputSummaryFilePath, contents, Encoding.UTF8, cancellation);

Check failure on line 142 in TUnit.Engine/Reporters/GitHubReporter.cs

View workflow job for this annotation

GitHub Actions / web-example-test

The name 'cancellation' does not exist in the current context

Check failure on line 142 in TUnit.Engine/Reporters/GitHubReporter.cs

View workflow job for this annotation

GitHub Actions / modularpipeline-netframework

The name 'cancellation' does not exist in the current context

Check failure on line 142 in TUnit.Engine/Reporters/GitHubReporter.cs

View workflow job for this annotation

GitHub Actions / modularpipeline-netframework

The name 'cancellation' does not exist in the current context

Check failure on line 142 in TUnit.Engine/Reporters/GitHubReporter.cs

View workflow job for this annotation

GitHub Actions / modularpipeline-netframework

The name 'cancellation' does not exist in the current context

Check failure on line 142 in TUnit.Engine/Reporters/GitHubReporter.cs

View workflow job for this annotation

GitHub Actions / modularpipeline-netframework

The name 'cancellation' does not exist in the current context

Check failure on line 142 in TUnit.Engine/Reporters/GitHubReporter.cs

View workflow job for this annotation

GitHub Actions / modularpipeline (ubuntu-latest)

The name 'cancellation' does not exist in the current context

Check failure on line 142 in TUnit.Engine/Reporters/GitHubReporter.cs

View workflow job for this annotation

GitHub Actions / modularpipeline (ubuntu-latest)

The name 'cancellation' does not exist in the current context

Check failure on line 142 in TUnit.Engine/Reporters/GitHubReporter.cs

View workflow job for this annotation

GitHub Actions / modularpipeline (ubuntu-latest)

The name 'cancellation' does not exist in the current context

Check failure on line 142 in TUnit.Engine/Reporters/GitHubReporter.cs

View workflow job for this annotation

GitHub Actions / modularpipeline (ubuntu-latest)

The name 'cancellation' does not exist in the current context

Check failure on line 142 in TUnit.Engine/Reporters/GitHubReporter.cs

View workflow job for this annotation

GitHub Actions / modularpipeline (windows-latest)

The name 'cancellation' does not exist in the current context

Check failure on line 142 in TUnit.Engine/Reporters/GitHubReporter.cs

View workflow job for this annotation

GitHub Actions / modularpipeline (windows-latest)

The name 'cancellation' does not exist in the current context

Check failure on line 142 in TUnit.Engine/Reporters/GitHubReporter.cs

View workflow job for this annotation

GitHub Actions / modularpipeline (windows-latest)

The name 'cancellation' does not exist in the current context

Check failure on line 142 in TUnit.Engine/Reporters/GitHubReporter.cs

View workflow job for this annotation

GitHub Actions / modularpipeline (windows-latest)

The name 'cancellation' does not exist in the current context

Check failure on line 142 in TUnit.Engine/Reporters/GitHubReporter.cs

View workflow job for this annotation

GitHub Actions / modularpipeline (macos-latest)

The name 'cancellation' does not exist in the current context

Check failure on line 142 in TUnit.Engine/Reporters/GitHubReporter.cs

View workflow job for this annotation

GitHub Actions / modularpipeline (macos-latest)

The name 'cancellation' does not exist in the current context

Check failure on line 142 in TUnit.Engine/Reporters/GitHubReporter.cs

View workflow job for this annotation

GitHub Actions / modularpipeline (macos-latest)

The name 'cancellation' does not exist in the current context

Check failure on line 142 in TUnit.Engine/Reporters/GitHubReporter.cs

View workflow job for this annotation

GitHub Actions / modularpipeline (macos-latest)

The name 'cancellation' does not exist in the current context
#else
File.AppendAllText(_outputSummaryFilePath, stringBuilder.ToString(), Encoding.UTF8);
File.AppendAllText(_outputSummaryFilePath, contents, Encoding.UTF8);

return Task.CompletedTask;
#endif
Expand Down

0 comments on commit 312fb87

Please sign in to comment.