From 6ebec7c2859200fd6c4374a84786c21dfa143171 Mon Sep 17 00:00:00 2001 From: Stevan Freeborn <65925598+StevanFreeborn@users.noreply.github.com> Date: Thu, 9 Oct 2025 16:14:10 -0500 Subject: [PATCH] =?UTF-8?q?fix:=20use=20file=20system=20abstraction=20in?= =?UTF-8?q?=20base=20directory=20method.=20thanks=20copilot=20=F0=9F=A4=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/StreamShorts.Console/Commands/DefaultCommand.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/StreamShorts.Console/Commands/DefaultCommand.cs b/src/StreamShorts.Console/Commands/DefaultCommand.cs index 9b51f81..c3f878b 100644 --- a/src/StreamShorts.Console/Commands/DefaultCommand.cs +++ b/src/StreamShorts.Console/Commands/DefaultCommand.cs @@ -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;