Skip to content

Commit

Permalink
Fix NPE in sift --add-jar when used with transitive deps
Browse files Browse the repository at this point in the history
Fixes #427
  • Loading branch information
micha committed Apr 10, 2016
1 parent 10de34c commit 4fde407
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion boot/core/src/boot/task_helpers.clj
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@
[sym]
(let [env (core/get-env)]
(->> env
:dependencies
pod/resolve-dependencies
(map :dep)
(filter #(= sym (first %)))
first
(pod/resolve-dependency-jar env))))
Expand Down

0 comments on commit 4fde407

Please sign in to comment.