for real this time
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
b6b83e3fb2
commit
5e868803bf
|
@ -209,6 +209,7 @@ function getPastTerm(
|
||||||
term: string
|
term: string
|
||||||
): { year: string; term: string } {
|
): { year: string; term: string } {
|
||||||
const index = TERMS.indexOf(term);
|
const index = TERMS.indexOf(term);
|
||||||
|
|
||||||
if (index === -1) {
|
if (index === -1) {
|
||||||
throw new Error("Not a valid term");
|
throw new Error("Not a valid term");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue