Skip to content

Commit

Permalink
Fix error with overloaded Engine.Settings.mergeProperties (#34)
Browse files Browse the repository at this point in the history
* fix properties file processing

Co-authored-by: Drew Thompson <drew.thompson@singlewire.com>
  • Loading branch information
officerNordberg and Drew Thompson committed Oct 12, 2021
1 parent 6550038 commit 577f26a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions project.clj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(def dependency-check-version "6.0.2")
(def dependency-check-version "6.2.2")

(defproject com.livingsocial/lein-dependency-check "1.1.5"
(defproject com.livingsocial/lein-dependency-check "1.1.6"
:description "Clojure command line tool for detecting vulnerable project dependencies"
:url "https://github.com/livingsocial/lein-dependency-check"
:license {:name "The MIT License (MIT)"
Expand Down
2 changes: 1 addition & 1 deletion src/lein_dependency_check/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
_ (when (.exists (io/as-file suppression-file))
(.setString settings Settings$KEYS/SUPPRESSION_FILE suppression-file))
_ (when properties-file
(.mergeProperties settings properties-file))
(.mergeProperties settings (io/as-file properties-file)))
engine (Engine. settings)]
(prn "Scanning" (count files) "file(s)...")
(doseq [^File file files]
Expand Down

0 comments on commit 577f26a

Please sign in to comment.