2
0

anoia: Fix crash if a watched output directory does not exist

This commit is contained in:
Peter Collingbourne
2026-05-03 00:34:24 -07:00
parent d0376d4101
commit b061e6903b

View File

@@ -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 ...))