diff options
| author | Agando <roduccomm@gmail.com> | 2026-10-23 15:28:57 +0200 |
|---|---|---|
| committer | Agando <roduccomm@gmail.com> | 2026-10-23 15:28:57 +0200 |
| commit | 2aa908775e2660223115f62dde83549370d4cd84 (patch) | |
| tree | eb55ed7e4f708f2086b27003d12d654dcb30b7ef /scripts/test-security.mjs | |
| parent | 7c48b16cb59a514217e275b0a32cece3c74d2a24 (diff) | |
fix(newos4): define VirtualFS.emptyTrash() — empty-trash threw since 2026-10-18
Report RPT-20261018-164646-89352963 ("this.fs.emptyTrash is not a function") was filed by the auto-filer and never fixed: terminal.js:1777 called a method VirtualFS never defined, so 'empty-trash --confirm' threw instead of emptying. Added emptyTrash() returning true only when it removed something.
Verified live on v4.6.54: put -> rm -> empty-trash --confirm => 'Trash emptied.'; second run => 'Trash is already empty.'; .trash entries 0.
Diffstat (limited to 'scripts/test-security.mjs')
0 files changed, 0 insertions, 0 deletions