diff options
Diffstat (limited to 'hatask.ha')
| -rw-r--r-- | hatask.ha | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -40,13 +40,13 @@ fn listtasks(root: str = "tasks", context: str = "*") ([]task | rtaskerror) = { if (context == "*" || fnmatch::fnmatch(context, dirent.name)) { let buf = path::init()?; const p = path::push(&buf, root, dirent.name)?; - append(tasks, listtasks(p)?...); + append(tasks, listtasks(p)?...)!; }; } else { let buf = path::init()?; const p = path::push(&buf, root, dirent.name)?; let t = readtask(p)?; - append(tasks, t); + append(tasks, t)!; }; }; return tasks; |
