audit: remove spdx-id as a attr_reader attribute
This commit is contained in:
parent
44aac2474e
commit
ba824d9488
@ -206,7 +206,7 @@ module Homebrew
|
|||||||
class FormulaAuditor
|
class FormulaAuditor
|
||||||
include FormulaCellarChecks
|
include FormulaCellarChecks
|
||||||
|
|
||||||
attr_reader :formula, :text, :problems, :new_formula_problems, :spdx_ids
|
attr_reader :formula, :text, :problems, :new_formula_problems
|
||||||
|
|
||||||
def initialize(formula, options = {})
|
def initialize(formula, options = {})
|
||||||
@formula = formula
|
@formula = formula
|
||||||
@ -358,7 +358,7 @@ module Homebrew
|
|||||||
return if github_license && (github_license == formula.license)
|
return if github_license && (github_license == formula.license)
|
||||||
|
|
||||||
problem "License mismatch - Github license is: #{github_license}, \
|
problem "License mismatch - Github license is: #{github_license}, \
|
||||||
but Formulae license states: #{formula.license}"
|
but Formulae license states: #{formula.license}."
|
||||||
else
|
else
|
||||||
problem "#{formula.license} is not a standard SPDX license id."
|
problem "#{formula.license} is not a standard SPDX license id."
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user