exe/hrw in hrw-0.3.8 vs exe/hrw in hrw-0.3.9

- old
+ new

@@ -34,9 +34,13 @@ puts '[-] can not detect package manager, skip' exit(0) end specs = scanner.scan +if specs.empty? + puts '[-] no packages found' + exit(0) +end api = Hrw::API.new(options.url) hash = api.submit(specs, scanner.package_manager) result = api.retrieve(hash)