Skip to content

Commit

Permalink
Fix bugs introduced by #198
Browse files Browse the repository at this point in the history
- fix typo, thx @vmfhrmfoaj
- fix deref fails in threading macro
  • Loading branch information
Benedek Fazekas authored and Benedek Fazekas committed Jul 16, 2017
1 parent 586b0ef commit d56b676
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/refactor_nrepl/middleware.clj
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
(require-and-resolve 'refactor-nrepl.ns.pprint/pprint-ns)))

(defn- clean-ns-reply [{:keys [transport path] :as msg}]
(reply transport msg :ns (some-> msg @clean-ns @pprint-ns) :status :done))
(reply transport msg :ns (some-> msg (@clean-ns) (@pprint-ns)) :status :done))

(def ^:private find-used-locals
(delay
Expand All @@ -128,7 +128,7 @@

(def ^:private warm-ast-cache
(delay
(require-and-resolve 'refactor.nrepl.analyzer/warm-ast-cache)))
(require-and-resolve 'refactor-nrepl.analyzer/warm-ast-cache)))

(defn- warm-ast-cache-reply [{:keys [transport] :as msg}]
(reply transport msg :status :done
Expand Down

0 comments on commit d56b676

Please sign in to comment.