We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cd4ac5 commit b258e0fCopy full SHA for b258e0f
src/main/clojure/cljs/closure.clj
@@ -1996,7 +1996,7 @@
1996
(conj (string/replace p' "_" "-")))))
1997
(expand-lib* [{:keys [file] :as lib}]
1998
(if-not file
1999
- [] ;; foreign-lib override case - David
+ [lib] ;; foreign-lib override case - David
2000
(let [root (.getAbsolutePath (io/file file))
2001
dir (io/file file)]
2002
(if (.isDirectory dir)
src/main/clojure/cljs/js_deps.cljc
@@ -164,7 +164,7 @@ case."
164
index provides)
165
index)]
166
(if (:foreign dep)
167
- (if-let [file (get-file dep index)]
+ (if-let [file (get-file dep index')]
168
(update-in index' [file] merge dep)
169
(throw
170
(Exception.
0 commit comments