Skip to content

Commit 6f59a61

Browse files
committed
Remove unneeded conditional require
I got slightly carried away with the big commit and didn't think that you'll never have tools.nrepl loaded if you're using cider-nrepl.main. Additionally - we'll likely kill this ns completely down the road, and leverage functionality now in nREPL directly.
1 parent 54bef72 commit 6f59a61

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

src/cider_nrepl/main.clj

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
(ns cider-nrepl.main
22
(:require
3-
[clojure.java.io :as io]))
4-
5-
(if (find-ns 'clojure.tools.nrepl)
6-
(require
7-
'[clojure.tools.nrepl.server :as nrepl.server])
8-
(require
9-
'[nrepl.server]))
3+
[clojure.java.io :as io]
4+
nrepl.server))
105

116
(defn- require-and-resolve
127
[thing]

0 commit comments

Comments
 (0)