From ba824d9488de3ad4e8efd58478f3ba3d9aaf1684 Mon Sep 17 00:00:00 2001 From: Lionell Date: Wed, 17 Jun 2020 04:14:57 +0800 Subject: [PATCH] audit: remove spdx-id as a attr_reader attribute --- Library/Homebrew/dev-cmd/audit.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb index 023974d635..94be995ff2 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -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