Skip to content

Commit 45889b4

Browse files
Mpdreamzclaude
andcommitted
fix: remove nullable annotation from TemporaryDirectory
The project does not enable nullable reference types, so string? causes CS8632 across all target frameworks. Plain string with IsNullOrEmpty guard achieves the same result. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
1 parent be27a00 commit 45889b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TestableIO.System.IO.Abstractions.TestingHelpers/MockFileSystemOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ public class MockFileSystemOptions
1919
/// The temp directory returned by <see cref="System.IO.Path.GetTempPath()" /> on the <see cref="MockFileSystem" />.
2020
/// Defaults to <see cref="System.IO.Path.GetTempPath()" /> when <see langword="null" /> or empty.
2121
/// </summary>
22-
public string? TemporaryDirectory { get; init; }
22+
public string TemporaryDirectory { get; init; }
2323
}

0 commit comments

Comments
 (0)