Skip to content

Commit 82bdea3

Browse files
Merge pull request #13 from until-tsukuba/parse-kdb-instructor
kdbの教員の項目を改善
2 parents dee7ee0 + 8bfffc4 commit 82bdea3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,8 @@ const main = async () => {
204204
instructor: {
205205
value: choose(
206206
twinsSubject?.instructors,
207-
kdbFlatSubject?.instructor.split(/,/).map((s) => s.trim())
207+
kdbFlatSubject?.instructor.split(/[,]/).map((s) => s.trim()),
208+
arrayShallowEqual
208209
),
209210
kdbRaw: kdbFlatSubject?.instructor ?? null,
210211
twinsRaw: twinsSubject?.raw[4] ?? null,

0 commit comments

Comments
 (0)