license_property

in lib/licensee/matchers/npm_bower.rb [13:20]


      def license_property
        match = @file.content.match LICENSE_REGEX
        return unless match && match[1]
        return 'no-license' if match[1] == 'UNLICENSED'

        match[1].downcase
      end