lib/spandx/cli/commands/scan.rb in spandx-0.10.1 vs lib/spandx/cli/commands/scan.rb in spandx-0.11.0
- old
+ new
@@ -16,10 +16,10 @@
each_file_in(scan_path) do |file|
each_dependency_from(file) do |dependency|
report.add(dependency)
end
end
- output.puts report.to_json
+ output.puts report.to(@options[:format])
end
private
def recursive?