mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-25 16:05:27 +03:00
clay: revise /subs %cs scry again
return an empty set instead of crashing if desk doesn't exist
This commit is contained in:
parent
3c7ff0c1f2
commit
4c2e5460bd
@ -4163,10 +4163,11 @@
|
||||
|= [yon=aeon pax=path]
|
||||
^- (unit (unit cage))
|
||||
?: ?=([%subs ~] pax)
|
||||
=/ doj=(unit dojo) (~(get by dos.rom) syd)
|
||||
?~ doj `~
|
||||
=/ wos ~(tap in ~(key by qyx.u.doj))
|
||||
=| sus=(set ship)
|
||||
=/ doj=(unit dojo) (~(get by dos.rom) syd)
|
||||
?~ doj
|
||||
``noun+!>(sus)
|
||||
=/ wos ~(tap in ~(key by qyx.u.doj))
|
||||
|-
|
||||
?~ wos
|
||||
``noun+!>(sus)
|
||||
|
Loading…
Reference in New Issue
Block a user