mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 00:13:12 +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
|
||||
|= [duz=(list dude) =rein]
|
||||
^- (list dude)
|
||||
?. liv.rein ~
|
||||
=. duz (skip duz ~(has in sub.rein))
|
||||
=. duz (weld duz (skip ~(tap in add.rein) ~(has in (sy duz))))
|
||||
duz
|
||||
|
Loading…
Reference in New Issue
Block a user