mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 07:38:33 -06:00
run script handles timezones
This commit is contained in:
@@ -64,3 +64,5 @@ export async function paginatedRequest<T extends any[]>(request: {
|
||||
|
||||
return returnData as T;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ const getCourseSettings = async (
|
||||
const courseDirectory = path.join(basePath, courseName);
|
||||
const settingsPath = path.join(courseDirectory, "settings.yml");
|
||||
if (!(await directoryOrFileExists(settingsPath))) {
|
||||
const errorMessage = `Error loading settings for ${courseName}, settings file ${settingsPath}`;
|
||||
const errorMessage = `could not find settings for ${courseName}, settings file ${settingsPath}`;
|
||||
console.log(errorMessage);
|
||||
throw new Error(errorMessage);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user