Skip to content

Commit 5b5e66a

Browse files
nwjsmithbbatsov
authored andcommitted
Update cljs-tooling version
1 parent 69927bc commit 5b5e66a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

project.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
^:inline-dep [cljfmt "0.6.4"]
1414
^:inline-dep [clj-commons/fs "1.5.0"]
1515
^:inline-dep [rewrite-clj "0.6.1"]
16-
^:inline-dep [cljs-tooling "0.2.0"]
16+
^:inline-dep [cljs-tooling "0.3.1"]
1717
^:inline-dep [version-clj "0.1.2"]]
1818
:deploy-repositories [["clojars" {:url "https://clojars.org/repo"
1919
:username :env/clojars_username

src/refactor_nrepl/ns/resolve_missing.clj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
(defn- ns-publics-cljs [env ns-name]
4444
(->> ns-name (cljs-ana/public-vars env) keys))
4545

46-
(defn- ns-public-macros-cljs [ns-name]
47-
(->> ns-name cljs-ana/public-macros keys))
46+
(defn- ns-public-macros-cljs [env ns-name]
47+
(->> ns-name (cljs-ana/public-macros env) keys))
4848

4949
(defn- cljs-vars-to-namespaces [env]
5050
(let [all-ns (remove (partial = 'cljs.core) (keys (cljs-ana/all-ns env)))
@@ -57,7 +57,7 @@
5757
ns-by-macros (->> all-ns
5858
(mapcat (fn [ns]
5959
(map (fn [sym] {sym (list {:name ns :type :macro})})
60-
(ns-public-macros-cljs ns))))
60+
(ns-public-macros-cljs env ns))))
6161
(remove empty?)
6262
(apply merge-with into))]
6363
(merge-with into ns-by-vars ns-by-macros)))

0 commit comments

Comments
 (0)