Skip to content

Commit

Permalink
CLJS-3221: cljs.test/cljs-output-dir wrong number of args passed to c…
Browse files Browse the repository at this point in the history
…ljs.analyzer.api/get-options
  • Loading branch information
mfikes committed Apr 4, 2020
1 parent 45022fa commit 0f6d246
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/clojure/cljs/analyzer/api.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,14 @@

(defn get-options
"Return the compiler options from compiler state."
([] (get-options (current-state)))
([state]
(get @state :options)))

(defn get-js-index
"Return the currently computed Google Closure js dependency index from the
compiler state."
([] (get-options (current-state)))
([state]
(get @state :js-dependency-index)))

Expand Down

0 comments on commit 0f6d246

Please sign in to comment.