lib/licensee/license_field.rb in licensee-9.10.0 vs lib/licensee/license_field.rb in licensee-9.10.1
- old
+ new
@@ -37,9 +37,10 @@
end
# Given a license body, returns an array of included LicneseFields
def from_content(content)
return [] unless content
+
LicenseField.from_array content.scan(FIELD_REGEX).flatten
end
end
alias key name