Skip to content

Commit

Permalink
Removing unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-fang authored and alex-fang committed Oct 31, 2023
1 parent a0a9537 commit bf81251
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions src/D2L.Bmx/BmxConfigProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
3 changes: 0 additions & 3 deletions src/D2L.Bmx/Okta/OktaSessionStorage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ internal interface IOktaSessionStorage {

internal class OktaSessionStorage : IOktaSessionStorage {
void IOktaSessionStorage.SaveSessions( List<OktaSessionCache> sessions ) {
if( !Directory.Exists( BmxPaths.BMX_DIR ) ) {
Directory.CreateDirectory( BmxPaths.BMX_DIR );
}

string jsonString = JsonSerializer.Serialize(
sessions,
Expand Down

0 comments on commit bf81251

Please sign in to comment.