mirror of
https://github.com/urbit/shrub.git
synced 2024-12-21 18:01:32 +03:00
kiln: respect .liv flag in +get-apps-want
Accounts for the value of .liv in +get-apps-want, such that if a desk is suspended then +get-apps-want should always return the empty list.
This commit is contained in:
parent
0d6775ca40
commit
2fa9c8e494
@ -225,6 +225,7 @@
|
|||||||
++ get-apps-want
|
++ get-apps-want
|
||||||
|= [duz=(list dude) =rein]
|
|= [duz=(list dude) =rein]
|
||||||
^- (list dude)
|
^- (list dude)
|
||||||
|
?. liv.rein ~
|
||||||
=. duz (skip duz ~(has in sub.rein))
|
=. duz (skip duz ~(has in sub.rein))
|
||||||
=. duz (weld duz (skip ~(tap in add.rein) ~(has in (sy duz))))
|
=. duz (weld duz (skip ~(tap in add.rein) ~(has in (sy duz))))
|
||||||
duz
|
duz
|
||||||
|
Loading…
Reference in New Issue
Block a user