metadata-pull-hook: address L review

This commit is contained in:
Liam Fitzgerald 2021-02-12 14:59:16 +10:00
parent ccd98b6287
commit 38ac5f191f
No known key found for this signature in database
GPG Key ID: D390E12C61D1CFFB

View File

@ -195,10 +195,10 @@
=+ !<(=hook-update:metadata vase)
?. ?=(%preview -.hook-update)
(on-poke:def mark vase)
=. previews
(~(put by previews) group.hook-update +.hook-update)
=. pending
(~(del in pending) group.hook-update)
=: pending (~(del in pending) group.hook-update)
previews
(~(put by previews) group.hook-update +.hook-update)
==
:_ this
=/ =path
preview+(en-path:resource group.hook-update)