Commit 366a98f5 authored by Fabio Pelosin's avatar Fabio Pelosin

[Linter] Don't require a licence file for pods available under the `Public Domain`.

parent 8bac42c4
...@@ -411,7 +411,7 @@ module Pod ...@@ -411,7 +411,7 @@ module Pod
def file_patterns_warnings def file_patterns_warnings
messages = [] messages = []
messages << "Unable to find a license file" unless @pod.license_file messages << "Unable to find a license file" unless @pod.license_file || @spec.license[:type] && @spec.license[:type] == 'Public Domain'
messages messages
end end
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment