Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion TUnit.Engine/Services/TUnitInitializer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
ParseParameters();
SetUpExceptionListeners();

if (TestContext.OutputDirectory != null)
if (!string.IsNullOrEmpty(TestContext.OutputDirectory))
{
TestContext.WorkingDirectory = TestContext.OutputDirectory;

Check failure on line 18 in TUnit.Engine/Services/TUnitInitializer.cs

View workflow job for this annotation

GitHub Actions / modularpipeline (macos-latest)

Possible null reference assignment.

Check failure on line 18 in TUnit.Engine/Services/TUnitInitializer.cs

View workflow job for this annotation

GitHub Actions / modularpipeline (macos-latest)

Possible null reference assignment.

Check failure on line 18 in TUnit.Engine/Services/TUnitInitializer.cs

View workflow job for this annotation

GitHub Actions / modularpipeline (ubuntu-latest)

Possible null reference assignment.

Check failure on line 18 in TUnit.Engine/Services/TUnitInitializer.cs

View workflow job for this annotation

GitHub Actions / modularpipeline (ubuntu-latest)

Possible null reference assignment.

Check failure on line 18 in TUnit.Engine/Services/TUnitInitializer.cs

View workflow job for this annotation

GitHub Actions / modularpipeline (windows-latest)

Possible null reference assignment.

Check failure on line 18 in TUnit.Engine/Services/TUnitInitializer.cs

View workflow job for this annotation

GitHub Actions / modularpipeline (windows-latest)

Possible null reference assignment.

Check failure on line 18 in TUnit.Engine/Services/TUnitInitializer.cs

View workflow job for this annotation

GitHub Actions / modularpipeline-netframework

Possible null reference assignment.

Check failure on line 18 in TUnit.Engine/Services/TUnitInitializer.cs

View workflow job for this annotation

GitHub Actions / modularpipeline-netframework

Possible null reference assignment.
}
}

Expand Down
Loading