From 2692c6878d922af854312441228a96261cf8a6a0 Mon Sep 17 00:00:00 2001 From: Caleb Foust Date: Sat, 5 Oct 2024 09:22:25 +0800 Subject: [PATCH] fix: only use first line from action description --- pkg/cy/boot/actions.janet | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/cy/boot/actions.janet b/pkg/cy/boot/actions.janet index 516350f7..5945bc99 100644 --- a/pkg/cy/boot/actions.janet +++ b/pkg/cy/boot/actions.janet @@ -100,7 +100,9 @@ For example: (get x :sequence) (string/join x " ") (string " " x " "))) - (tuple [desc name (string sequence)] func)) + (tuple [(get (string/split "\n" desc) 0) + name + (string sequence)] func)) (pairs actions))) (as?-> bound-actions _