Update clojure example to new calling convention (#1667)

This way work both from scripts and tasks
This commit is contained in:
Imre Kószó 2024-02-06 14:23:08 +01:00 committed by GitHub
parent 3e4c5861e7
commit 771f69d922
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,7 +22,7 @@
Examples:
(-> (clojure '[-M -e (+ 1 2 3)] {:out :string}) deref :out) returns
(-> (clojure {:out :string} '-M '-e '(+ 1 2 3)]) deref :out) returns
\"6\n\".
(-> @(clojure) :exit) starts a clojure REPL, waits for it