File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 2323 [orchard.java]))
2424
2525(def min-clojure-verion
26- " Having an enforced minimmum version can help users and maintainers alike diagnose issues more quickly,
27- avoiding problematic code paths in our middleware, and clients like cider.el."
26+ " The minimum Clojure version needed by cider-nrepl to work properly.
27+ Having an enforced minimum version can help users and maintainers alike diagnose issues more quickly,
28+ avoiding problematic code paths in our middleware, and in clients like cider.el."
2829 {:major 1
2930 :minor 9 })
3031
32+ ; ; Make sure we're running a supported Clojure version
3133(when (or (< (-> *clojure-version* :major long)
3234 (-> min-clojure-verion :major long))
3335
3638 (< (-> *clojure-version* :minor long)
3739 (-> min-clojure-verion :minor long))))
3840 (try
39- (.println System/err (format " cider-nrepl cannot be run with older Clojure versions (found: %s, minimum: %s). Exiting."
41+ (.println System/err (format " cider-nrepl requires a newer Clojure version (found: %s, minimum required : %s). Exiting."
4042 *clojure-version*
4143 min-clojure-verion))
4244 (finally
You can’t perform that action at this time.
0 commit comments