story: generators: fix case scry

This commit is contained in:
Yaseen 2022-02-21 22:10:22 -05:00
parent a149dc6c40
commit 4eb7e623cd
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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