From 971f10941e9723111488a9a22f26cfe179a6fb02 Mon Sep 17 00:00:00 2001 From: Lee Spector <lspector@hampshire.edu> Date: Fri, 12 Jan 2024 17:11:03 -0500 Subject: [PATCH] GIT MESSAGE CORRECTION: recently added argument is :closes, not :close --- src/propeller/utils.cljc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/propeller/utils.cljc b/src/propeller/utils.cljc index 7598f17..7745a97 100755 --- a/src/propeller/utils.cljc +++ b/src/propeller/utils.cljc @@ -51,7 +51,7 @@ "Returns a random instruction from a supplied pool of instructions, evaluating ERC-producing functions to a constant literal." [instructions argmap] - (case (or (:closes argmap) :specified) + (case (or (:closes argmap) :specified) :specified (let [instruction (rand-nth instructions)] (if (fn? instruction) (instruction)