mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-25 23:28:33 -06:00
prevent colon from getting in the name and breaking windows machines
This commit is contained in:
@@ -37,8 +37,6 @@ public class CourseMarkdownLoader
|
||||
throw new LoadCourseFromFileException(errorMessage);
|
||||
}
|
||||
|
||||
|
||||
|
||||
LocalCourseSettings settings = await loadCourseSettings(courseDirectory);
|
||||
var modules = await loadCourseModules(courseDirectory);
|
||||
|
||||
@@ -73,7 +71,7 @@ public class CourseMarkdownLoader
|
||||
modulePaths
|
||||
.Select(loadModuleFromPath)
|
||||
);
|
||||
return modules;
|
||||
return modules.OrderBy(m => m.Name);
|
||||
}
|
||||
|
||||
private async Task<LocalModule> loadModuleFromPath(string modulePath)
|
||||
|
||||
Reference in New Issue
Block a user