Skip to content

Commit bfa9061

Browse files
committed
Fix logging/warn
Closes #59
1 parent d1f029f commit bfa9061

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cider/enrich_classpath/logging.clj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
(println x))))
3131

3232
(defn warn [x]
33-
(if lein?
34-
(locking warn-lock
33+
(locking warn-lock
34+
(if lein?
3535
(-> 'leiningen.core.main/warn ^IFn (resolve) (.invoke x))
3636
(println x))))

0 commit comments

Comments
 (0)