diff --git a/src/D2L.Bmx/BmxConfigProvider.cs b/src/D2L.Bmx/BmxConfigProvider.cs index 27b13445..96539e74 100644 --- a/src/D2L.Bmx/BmxConfigProvider.cs +++ b/src/D2L.Bmx/BmxConfigProvider.cs @@ -52,9 +52,6 @@ public BmxConfig GetConfiguration() { } public void SaveConfiguration( BmxConfig config ) { - if( !Directory.Exists( BmxPaths.BMX_DIR ) ) { - Directory.CreateDirectory( BmxPaths.BMX_DIR ); - } var op = new FileStreamOptions { Mode = FileMode.OpenOrCreate, Access = FileAccess.ReadWrite, diff --git a/src/D2L.Bmx/Okta/OktaSessionStorage.cs b/src/D2L.Bmx/Okta/OktaSessionStorage.cs index 2ad7d44f..a2b13e13 100644 --- a/src/D2L.Bmx/Okta/OktaSessionStorage.cs +++ b/src/D2L.Bmx/Okta/OktaSessionStorage.cs @@ -11,9 +11,6 @@ internal interface IOktaSessionStorage { internal class OktaSessionStorage : IOktaSessionStorage { void IOktaSessionStorage.SaveSessions( List sessions ) { - if( !Directory.Exists( BmxPaths.BMX_DIR ) ) { - Directory.CreateDirectory( BmxPaths.BMX_DIR ); - } string jsonString = JsonSerializer.Serialize( sessions,