mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 15:48:32 -06:00
hooks
This commit is contained in:
@@ -14,4 +14,4 @@ public class FileConfiguration(IConfiguration config)
|
||||
return basePath;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -47,7 +47,7 @@ public class FileStorageManager
|
||||
|
||||
public IEnumerable<string> GetEmptyDirectories()
|
||||
{
|
||||
if(!Directory.Exists(_basePath))
|
||||
if (!Directory.Exists(_basePath))
|
||||
throw new DirectoryNotFoundException($"Cannot get empty directories, {_basePath} does not exist");
|
||||
|
||||
return Directory
|
||||
|
||||
@@ -25,7 +25,7 @@ public class CourseMarkdownLoader
|
||||
})
|
||||
.Select(async d => await LoadCourseByPath(d))
|
||||
);
|
||||
return courses.OrderBy(c=>c.Settings.Name);
|
||||
return courses.OrderBy(c => c.Settings.Name);
|
||||
}
|
||||
|
||||
public async Task<LocalCourse> LoadCourseByPath(string courseDirectory)
|
||||
|
||||
Reference in New Issue
Block a user