-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
The current MoodleUnpack file has a hardcoded format for the assignment id that begins with "h":
| // TODO: Fix this hack | |
| val assignmentId = assignmentIdRegex.matchEntire(candidate.name) | |
| ?.run { groups["assignmentId"]?.value } | |
| ?.padStart(length = 2, padChar = '0') | |
| ?.let { "h$it" } |
Fix this so that other assignment id formats may be used (and may not necessarily be numbers)