commit b061e6903be847ba050aec8f15cd31612b79a6e1 parent d0376d41016e0ddbd532b63f7fd3b2f4fcbcdf37 Author: Peter Collingbourne <peter@pcc.me.uk> Date: Sun, 3 May 2026 00:34:24 -0700 anoia: Fix crash if a watched output directory does not exist Diffstat:
| M | pkgs/anoia/init.fnl | | | 8 | ++++---- |
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/pkgs/anoia/init.fnl b/pkgs/anoia/init.fnl @@ -111,10 +111,10 @@ ) (fn dig [tree path] - (match path - [el & more] (dig (. tree el) more) - [el] (. tree el) - [] tree)) + (if tree (match path + [el & more] (dig (. tree el) more) + [el] (. tree el) + [] tree) nil)) (fn %% [fmt ...] (string.format fmt ...))