From 8787c43c831b0541e976dd5390f821bb3317cd82 Mon Sep 17 00:00:00 2001 From: Yaseen Date: Sun, 30 Jan 2022 15:58:35 -0500 Subject: [PATCH] story: cleanup --- pkg/arvo/gen/hood/story-init.hoon | 5 +++-- pkg/arvo/gen/hood/story-set.hoon | 2 +- pkg/arvo/gen/story-list.hoon | 2 +- pkg/base-dev/sur/story.hoon | 3 --- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/pkg/arvo/gen/hood/story-init.hoon b/pkg/arvo/gen/hood/story-init.hoon index 37dc8b5008..a3fce961fb 100644 --- a/pkg/arvo/gen/hood/story-init.hoon +++ b/pkg/arvo/gen/hood/story-init.hoon @@ -1,7 +1,7 @@ -/- *story :: :::: :: +/- *story :- %say |= $: [now=@da eny=@uvJ bec=beak] [[~] =desk overwrite=_| ~] @@ -13,7 +13,8 @@ =? desk =(*^desk desk) q.bec :: use current desk if user didn't provide =/ existing-story .^(? %cu /(scot %p our)/[desk]/(scot %da now)/story) ?: ?&(existing-story !overwrite) - ~& "Error: {}/story already exists. Set the optional parameter `overwrite` to `%.y` to forcibly wipe" + ~& >> "Error: {}/story already exists. Set the optional parameter `overwrite` to `%.y` to forcibly wipe" + :: XX could use a better way to noop :- %helm-pass [%d %noop ~] =| tale=story :- %helm-pass diff --git a/pkg/arvo/gen/hood/story-set.hoon b/pkg/arvo/gen/hood/story-set.hoon index f08d7a16de..cf4d138cf9 100644 --- a/pkg/arvo/gen/hood/story-set.hoon +++ b/pkg/arvo/gen/hood/story-set.hoon @@ -1,7 +1,7 @@ -/- *story :: :::: :: +/- *story :- %say |= $: [now=@da eny=@uvJ bec=beak] [[syd=desk =prose ~] cas=case ~] diff --git a/pkg/arvo/gen/story-list.hoon b/pkg/arvo/gen/story-list.hoon index 5e13e7d3f4..2e8dd9320b 100644 --- a/pkg/arvo/gen/story-list.hoon +++ b/pkg/arvo/gen/story-list.hoon @@ -1,7 +1,7 @@ -/- *story :: :::: :: +/- *story :- %say |= $: [now=@da eny=@uvJ bec=beak] [[syd=desk ~] ~] diff --git a/pkg/base-dev/sur/story.hoon b/pkg/base-dev/sur/story.hoon index 5b1bbe8516..e64e6e06e6 100644 --- a/pkg/base-dev/sur/story.hoon +++ b/pkg/base-dev/sur/story.hoon @@ -2,7 +2,4 @@ |% +$ prose [title=@t body=@t] +$ story (jug tako:clay prose) -:: If, for a given set of proses ~(get ju tak), where tak is a tako:clay, -:: (lent ~(tap in proses)) is greater than 1, it means there are multiple conflicting -:: messages associated with the given tak. -- \ No newline at end of file