Skip to content
This repository was archived by the owner on Apr 20, 2025. It is now read-only.
This repository was archived by the owner on Apr 20, 2025. It is now read-only.

鶴岡工業高等専門学校 #13

@BonyChops

Description

@BonyChops
? 学校を選択 鶴岡工業高等専門学校(09)
? 学科を選択 専攻科一般科目・共通専門科目(08)
? 年度を選択(学年の年度) 令和06年度(2024)
? 学年, 学期を選択 専1年 前期 (専1-1Q), 専2年 後期 (専2-3Q), 専2年 後期 (専2-4Q)

/Users/bonychops/.npm/_npx/b2fdd9e4d3ede4f7/node_modules/fetch-kosen-syllabus/dist/src/grade.js:55
    return `${syllabus[1][colNum].substring(0, syllabus[1][colNum].length - 1)}-${syllabus[3][colNum]}`;
                                  ^

TypeError: Cannot read properties of undefined (reading 'substring')
    at generateGradeId (/Users/bonychops/.npm/_npx/b2fdd9e4d3ede4f7/node_modules/fetch-kosen-syllabus/dist/src/grade.js:55:35)
    at /Users/bonychops/.npm/_npx/b2fdd9e4d3ede4f7/node_modules/fetch-kosen-syllabus/dist/src/subject.js:25:57
    at Array.map (<anonymous>)
    at getSubjectsFromSyllabus (/Users/bonychops/.npm/_npx/b2fdd9e4d3ede4f7/node_modules/fetch-kosen-syllabus/dist/src/subject.js:21:24)
    at /Users/bonychops/.npm/_npx/b2fdd9e4d3ede4f7/node_modules/fetch-kosen-syllabus/dist/bin/fetch-kosen-syllabus.js:93:69
    at Generator.next (<anonymous>)
    at fulfilled (/Users/bonychops/.npm/_npx/b2fdd9e4d3ede4f7/node_modules/fetch-kosen-syllabus/dist/bin/fetch-kosen-syllabus.js:6:58)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Node.js v20.15.1

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions