From a987dc7dc1eb4e9639c5bd62d63f2be613c459f3 Mon Sep 17 00:00:00 2001 From: yijen-sun Date: Sun, 22 Oct 2023 16:16:34 -0400 Subject: [PATCH] remove formatting change --- packages/frontend-v2/utils/plan/preAndCoReqCheck.ts | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/packages/frontend-v2/utils/plan/preAndCoReqCheck.ts b/packages/frontend-v2/utils/plan/preAndCoReqCheck.ts index f00834db8..c1695d30c 100644 --- a/packages/frontend-v2/utils/plan/preAndCoReqCheck.ts +++ b/packages/frontend-v2/utils/plan/preAndCoReqCheck.ts @@ -14,7 +14,7 @@ import { } from "@graduate/common"; export const getCoReqWarnings = ( - schedule: Schedule2, + schedule: Schedule2 ): CoReqWarnings => { const errors: CoReqWarnings = { type: "coreq", @@ -30,7 +30,7 @@ export const getCoReqWarnings = ( }; export const getCoReqWarningsSem = ( - term: ScheduleTerm2, + term: ScheduleTerm2 ): TermError => { const seen: Set = new Set(); const coReqErrors: TermError = {}; @@ -44,7 +44,6 @@ export const getCoReqWarningsSem = ( return coReqErrors; }; - export const getPreReqWarnings = ( schedule: Schedule2, coursesTransfered: ScheduleCourse2[] | undefined @@ -63,8 +62,8 @@ export const getPreReqWarnings = ( spring: getPreReqWarningSem(year.spring, seen), summer1: getPreReqWarningSem(year.summer1, seen), summer2: getPreReqWarningSem(year.summer2, seen), - })) - } + })), + }; return preReqErrors; }; @@ -136,8 +135,6 @@ const isOrCourse = (course: INEUReq): course is INEUOrReq => { return (course as INEUOrReq).type === "or"; }; -const isError = ( - error: INEUReqError | undefined -): error is INEUReqError => { +const isError = (error: INEUReqError | undefined): error is INEUReqError => { return !!error; };