diff options
author | Bozhidar Batsov <bozhidar@batsov.com> | 2018-08-16 20:08:02 +0200 |
---|---|---|
committer | Bozhidar Batsov <bozhidar@batsov.com> | 2018-08-16 20:08:02 +0200 |
commit | f0853305a3981eb6f0eaed39a759fef76b053341 (patch) | |
tree | 411a006e9a7b81f63bfb2ac70a4f929301d3ba13 /cider-connection.el | |
parent | 3b4406571c9399f613b822c49f17452ab6fd1e81 (diff) |
[Fix #2411] Don't show warnings when the middleware version
requirements are met
I forgot to flip the order of the arguments here when I changed the
code to also include a missing version check.
Diffstat (limited to 'cider-connection.el')
-rw-r--r-- | cider-connection.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cider-connection.el b/cider-connection.el index 15b631f9..6604c8ed 100644 --- a/cider-connection.el +++ b/cider-connection.el @@ -208,7 +208,7 @@ message in the REPL area." (cider-emit-manual-warning "troubleshooting/#cider-complains-of-the-cider-nrepl-version" "CIDER %s requires cider-nrepl to work normally. Please, install it!" cider-version cider-required-middleware-version middleware-version)) - ((version<= cider-required-middleware-version middleware-version) + ((version<= middleware-version cider-required-middleware-version) (cider-emit-manual-warning "troubleshooting/#cider-complains-of-the-cider-nrepl-version" "CIDER %s requires cider-nrepl %s+, but you're currently using cider-nrepl %s. Things will break!" cider-version cider-required-middleware-version middleware-version))))) |