We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6417e35 commit 52fff65Copy full SHA for 52fff65
test/Swashbuckle.AspNetCore.TestSupport/Utilities/TemporaryDirectory.cs
@@ -2,7 +2,7 @@
2
3
public sealed class TemporaryDirectory : IDisposable
4
{
5
- private readonly DirectoryInfo _directory = Directory.CreateDirectory(System.IO.Path.Join(System.IO.Path.GetTempPath(), System.IO.Path.GetRandomFileName()));
+ private readonly DirectoryInfo _directory = Directory.CreateTempSubdirectory();
6
7
public string Path => _directory.FullName;
8
0 commit comments