Skip to content

Commit

Permalink
Fix a bug recently introduced into cider-locate-running-nrepl-ports
Browse files Browse the repository at this point in the history
Closes #3406
  • Loading branch information
vemv committed Aug 13, 2023
1 parent f376d2d commit b923537
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cider.el
Original file line number Diff line number Diff line change
Expand Up @@ -1828,7 +1828,7 @@ When DIR is non-nil also look for nREPL port files in DIR. Return a list
of list of the form (project-dir port)."
(let* ((pairs (cider--running-nrepl-paths))
(pairs (if-let (c (and dir (clojure-project-dir dir)))
(cons (cider--path->path-port-pairs c) pairs)
(append (cider--path->path-port-pairs c) pairs)
pairs)))
(thread-last pairs
(delq nil)
Expand Down

0 comments on commit b923537

Please sign in to comment.