Skip to content

Commit

Permalink
Update cider-nrepl's version check
Browse files Browse the repository at this point in the history
  • Loading branch information
Bozhidar Batsov committed Oct 14, 2014
1 parent 0a0b934 commit ac36215
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cider-interaction.el
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,8 @@ Signal an error if it is not supported."

(defun cider--check-middleware-compatibility ()
"Retrieve the underlying connection's CIDER nREPL version."
(cider-eval "(try (require 'cider.nrepl)
(:version-string @(resolve 'cider.nrepl/version))
(cider-eval "(try (require 'cider.nrepl.version)
(:version-string @(resolve 'cider.nrepl.version/version))
(catch Throwable _ \"not installed\"))"
(cider--check-middleware-compatibility-callback (current-buffer))))

Expand Down

0 comments on commit ac36215

Please sign in to comment.