Repository navigation
v0.9.5
Moodle CLI 0.9.5
A second fix for moodle submit: the confirmation prompt crashed on a first submission.
Fixes
moodle submitno longer crashes withCannot read properties of undefined (reading 'length'). Results pass through a step that drops empty lists, so a first submission — no files yet, nothing to remove — arrived withoutfilesandremoved. The CLI read them as if they were always there and failed while drawing the confirmation, before anything was sent. The same gap would have broken the human--dry-runview and the spinner that reports a finished upload. The receipt now gets its empty lists back before it is rendered.
Checked against a live Moodle 4.5 assignment up to the confirmation prompt.
Upgrade
npm install -g moodle-cli@0.9.5Or:
moodle updateNo configuration or cache format changes.