From 771f69d922b9c674bdfa1ae02f53691c54e28170 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Imre=20K=C3=B3sz=C3=B3?= Date: Tue, 6 Feb 2024 14:23:08 +0100 Subject: [PATCH] Update clojure example to new calling convention (#1667) This way work both from scripts and tasks --- src/babashka/deps.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/babashka/deps.clj b/src/babashka/deps.clj index f5c3ea8a..817b81d2 100644 --- a/src/babashka/deps.clj +++ b/src/babashka/deps.clj @@ -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