lib/omnibus/licensing.rb
def check_transitive_dependency_licensing_errors_for(software)
      reporter = LicenseScout::Reporter.new(license_output_dir(software))
      begin
        reporter.report.each { |i| transitive_dependency_licensing_warning(i) }
      rescue LicenseScout::Exceptions::InvalidOutputReport => e
        transitive_dependency_licensing_warning(<<-EOH)
Licensing output report at '#{license_output_dir(software)}' has errors:
#{e}
EOH
      end
      raise_if_warnings_fatal!
    end
def check_transitive_dependency_licensing_errors_for(software)
      reporter = LicenseScout::Reporter.new(license_output_dir(software))
      begin
        reporter.report.each { |i| transitive_dependency_licensing_warning(i) }
      rescue LicenseScout::Exceptions::InvalidOutputReport => e
        transitive_dependency_licensing_warning(<<-EOH)
Licensing output report at '#{license_output_dir(software)}' has errors:
#{e}
EOH
      end
      raise_if_warnings_fatal!
    end
Checks transitive dependency licensing errors for the given software