fix: use file system abstraction in base directory method. thanks copilot 🤖
This commit is contained in:
1 parent
8632f88817
commit
6ebec7c285
1 file changed
+2
-2
@@ -170,9 +170,9 @@ internal sealed class DefaultCommand(
|
||||
{
|
||||
var fullPath = _fileSystem.Path.GetFullPath(baseDirectory);
|
||||
|
||||
if (Directory.Exists(fullPath) is false)
|
||||
if (_fileSystem.Directory.Exists(fullPath) is false)
|
||||
{
|
||||
Directory.CreateDirectory(fullPath);
|
||||
_fileSystem.Directory.CreateDirectory(fullPath);
|
||||
}
|
||||
|
||||
return fullPath;
|
||||
|
||||
Reference in new issue
Block a user