mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-19 04:41:37 +03:00
story: generators: fix case scry
This commit is contained in:
parent
a149dc6c40
commit
4eb7e623cd
@ -15,7 +15,7 @@
|
||||
:: leaning towards no, and potentially even making the case non-optional
|
||||
=/ our p.bec
|
||||
=? cas =(*case cas) r.bec :: use case from beak if cas not provided
|
||||
?: !.^(? %cs /(scot %cs /(scot %p our)/[desk]/(scot cas)/case))
|
||||
?: !.^(? %cs /(scot %p our)/[desk]/(scot cas)/case)
|
||||
~& >> "Error: invalid case {<cas>} provided"
|
||||
helm-pass+[%d %noop ~]
|
||||
=/ tak
|
||||
|
@ -13,7 +13,7 @@
|
||||
?: !(~(has in .^((set ^desk) %cd /(scot %p our)/$/(scot %da now))) desk)
|
||||
~& >> "Error: desk {<desk>} does not exist."
|
||||
helm-pass+[%d %noop ~]
|
||||
?: !.^(? %cs /(scot %cs /(scot %p our)/[desk]/(scot cas)/case))
|
||||
?: !.^(? %cs /(scot %p our)/[desk]/(scot cas)/case)
|
||||
~& >> "Error: invalid case {<cas>} provided"
|
||||
helm-pass+[%d %noop ~]
|
||||
=/ tak
|
||||
|
Loading…
Reference in New Issue
Block a user