audit: remove spdx-id as a attr_reader attribute

This commit is contained in:
Lionell 2020-06-17 04:14:57 +08:00
parent 44aac2474e
commit ba824d9488

View File

@ -206,7 +206,7 @@ module Homebrew
class FormulaAuditor
include FormulaCellarChecks
attr_reader :formula, :text, :problems, :new_formula_problems, :spdx_ids
attr_reader :formula, :text, :problems, :new_formula_problems
def initialize(formula, options = {})
@formula = formula
@ -358,7 +358,7 @@ module Homebrew
return if github_license && (github_license == formula.license)
problem "License mismatch - Github license is: #{github_license}, \
but Formulae license states: #{formula.license}"
but Formulae license states: #{formula.license}."
else
problem "#{formula.license} is not a standard SPDX license id."
end