lib/spandx/cli/commands/scan.rb in spandx-0.13.3 vs lib/spandx/cli/commands/scan.rb in spandx-0.13.4

- old
+ new

@@ -28,16 +28,15 @@ private def each_file Spandx::Core::PathTraversal - .new(scan_path, recursive: @options['recursive']) + .new(scan_path, recursive: @options[:recursive]) .each { |file| yield file } end def each_dependency_from(file) ::Spandx::Core::Parser - .for(file) .parse(file) .map { |x| enhance(x) } .each { |dependency| yield dependency } end