fix: use file system abstraction in base directory method. thanks copilot 🤖

This commit is contained in:
Stevan Freeborn
2025-10-09 16:14:10 -05:00
parent 8632f88817
commit 6ebec7c285
@@ -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;