mirror of
https://github.com/urbit/shrub.git
synced 2024-11-28 22:33:06 +03:00
metadata-hook: fix on-load
This commit is contained in:
parent
b99ca963c0
commit
15e3b43be3
@ -39,7 +39,10 @@
|
||||
++ on-save !>(state)
|
||||
++ on-load
|
||||
|= =vase
|
||||
=+ !<(old=versioned-state vase)
|
||||
=/ m-old=(unit versioned-state)
|
||||
(mole |.(!<(versioned-state vase)))
|
||||
?~ m-old `this
|
||||
=* old u.m-old
|
||||
|^
|
||||
?: ?=(%2 -.old)
|
||||
`this
|
||||
|
Loading…
Reference in New Issue
Block a user