Closed lread closed 3 months ago
How do you feel about a slight refactor of that, like so:
Have scan-jars
return engine
(as before) and then:
(with-open [engine (build-engine dependency-check-properties clj-watson-properties)]
(-> engine
(update-download-database)
(scan-jars dependencies)
(.getDependencies)
(Arrays/asList)))
Since the last two calls only have a single argument, there's no need for ->>
here.
Restructured internal code slightly to match semantics of working with a resource that is open then closed.
Closes #86