lib/spandx/cli/commands/index/build.rb in spandx-0.6.0 vs lib/spandx/cli/commands/index/build.rb in spandx-0.7.0
- old
+ new
@@ -10,10 +10,10 @@
end
def execute(output: $stdout)
catalogue = Spandx::Spdx::Catalogue.from_git
indexes.each do |index|
- index.update!(catalogue: catalogue)
+ index.update!(catalogue: catalogue, output: output)
end
output.puts 'OK'
end
private