Skip to content
Snippets Groups Projects
Unverified Commit 1f7df488 authored by Dawid Dziurla's avatar Dawid Dziurla Committed by GitHub
Browse files

audit: remove redundant check

parent 2689213f
No related branches found
No related tags found
No related merge requests found
......@@ -399,7 +399,7 @@ module Homebrew
github_license = GitHub.get_repo_license(user, repo)
return unless github_license
return if github_license && (licenses + ["NOASSERTION"]).include?(github_license)
return if (licenses + ["NOASSERTION"]).include?(github_license)
return if PERMITTED_LICENSE_MISMATCHES[github_license]&.any? { |license| licenses.include? license }
return if PERMITTED_FORMULA_LICENSE_MISMATCHES[formula.name] == formula.version
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment