Skip to content

Commit c114745

Browse files
authored
Apply suggestion from @Evangelink
1 parent b4a22dd commit c114745

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Platform/Microsoft.Testing.Extensions.CrashDump/CrashDumpProcessLifetimeHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public async Task OnTestHostProcessExitedAsync(ITestHostProcessInformation testH
6767

6868
string expectedDumpFile = _netCoreCrashDumpGeneratorConfiguration.DumpFileNamePattern.Replace("%p", testHostProcessInformation.PID.ToString(CultureInfo.InvariantCulture));
6969
string? dumpDirectory = Path.GetDirectoryName(expectedDumpFile);
70-
if (string.IsNullOrEmpty(dumpDirectory) || !Directory.Exists(dumpDirectory))
70+
if (RoslynString.IsNullOrEmpty(dumpDirectory) || !Directory.Exists(dumpDirectory))
7171
{
7272
await _outputDisplay.DisplayAsync(this, new ErrorMessageOutputDeviceData(string.Format(CultureInfo.InvariantCulture, CrashDumpResources.CannotFindExpectedCrashDumpFile, expectedDumpFile)), cancellation).ConfigureAwait(false);
7373
return;

0 commit comments

Comments
 (0)