docket: remove charge if docket file no longer exists

This commit is contained in:
Liam Fitzgerald 2022-12-07 08:54:53 +10:00
parent 287b2f132c
commit 42996f14cc

View File

@ -394,7 +394,10 @@
:: !=(%kids desk)
:: ==
:: [dap.bowl %no-docket-file-for desk]
`state
?. (~(has by charges) desk)
`state
:- ~[del-fact:cha]
state(charges (~(del by charges) desk))
:: always update the docket in state to match clay's
::
=/ =docket docket:cha