diff options
| author | Julian Hurst <ark@mansus.space> | 2024-11-15 01:59:36 +0100 |
|---|---|---|
| committer | Julian Hurst <ark@mansus.space> | 2024-11-15 01:59:57 +0100 |
| commit | 7e7440420bd6ff8640fc1f74eb1c4da853cbaaef (patch) | |
| tree | 5f4e8164f3314f257015bf1a51c39250020a89cb /hatask.ha | |
| parent | 373ed8172d62b84df70fee9c7f92658e203bb621 (diff) | |
| download | hatask-7e7440420bd6ff8640fc1f74eb1c4da853cbaaef.tar.gz | |
Fix reading subtasks
Diffstat (limited to 'hatask.ha')
| -rw-r--r-- | hatask.ha | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -37,7 +37,7 @@ fn listtasks(root: str = "tasks", context: str = "*") ([]task | rtaskerror | if (fs::isdir(dirent.ftype)) { let buf = path::init()?; const p = path::push(&buf, root, dirent.name)?; - listtasks(p)?; + append(tasks, listtasks(p)?...); } else { let buf = path::init()?; const p = path::push(&buf, root, dirent.name)?; |
