exe/hrw in hrw-0.2.1 vs exe/hrw in hrw-0.2.2
- old
+ new
@@ -25,15 +25,15 @@
scanner = Hrw::Detector.detect
specs = scanner.scan
api = Hrw::API.new(options.url)
-hash = api.submit(specs)
+hash = api.submit(specs, scanner.package_manager)
result = api.retrieve(hash)
formatter = Hrw::Formatter.new
vulnerable_deps = formatter.format(result)
unless vulnerable_deps.empty?
formatter.print_vulnerable_deps(vulnerable_deps)
exit(1)
- end
+end