Skip to content

v0.9.5

Choose a tag to compare

@github-actions github-actions released this 24 Sep 17:26
· 273 commits to main since this release
v0.9.5
f2bff10

Moodle CLI 0.9.5

A second fix for moodle submit: the confirmation prompt crashed on a first submission.

Fixes

  • moodle submit no longer crashes with Cannot 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 without files and removed. 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-run view 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.5

Or:

moodle update

No configuration or cache format changes.