Skip to content

Commit 22a80aa

Browse files
committed
Throw if required depedencies are missing
1 parent cc83e6c commit 22a80aa

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/powerlaces/boot_cljs_devtools.clj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@
2929
(map first)
3030
set)
3131
missing (set/difference (get deps lib) current)]
32-
(if (seq missing)
33-
(util/warn (str "You are missing necessary dependencies for boot-cljs-devtools.\n"
34-
"Please add the following dependencies to your project:\n"
35-
(str/join "\n" missing) "\n")))))
32+
(assert (not (seq missing))
33+
(str "You are missing necessary dependencies for boot-cljs-devtools.\n"
34+
"Please add the missing dependencies to your project:\n"
35+
(str/join "\n" missing) "\n"))))
3636

3737
(defn- relevant-cljs-edn [prev fileset ids]
3838
(let [relevant (map #(str % ".cljs.edn") ids)

0 commit comments

Comments
 (0)