From 4832a5aa05966fcfd1979613107401b5bf55bca8 Mon Sep 17 00:00:00 2001 From: Lionell Date: Wed, 24 Jun 2020 20:43:33 +0800 Subject: [PATCH] audit: modified problem statement to match --- Library/Homebrew/dev-cmd/audit.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb index 4f2b40971e..e6ce4c6f82 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -123,7 +123,7 @@ module Homebrew git: git, only: only, except: args.except, - spdx_data: spdx_data, + spdx_data: spdx_data, } options[:style_offenses] = style_results.file_offenses(f.path) if style_results options[:display_cop_names] = args.display_cop_names? @@ -358,9 +358,9 @@ module Homebrew return if github_license && (github_license == formula.license) problem "License mismatch - GitHub license is: #{github_license}, "\ - "but formula license states: #{formula.license}." + "but Formulae license states: #{formula.license}." else - problem "#{formula.license} is not a SPDX license." + problem "#{formula.license} is not a standard SPDX license." end elsif @new_formula problem "No license specified for package."