gitlab-org--gitlab-foss/config/initializers/licensee_license_patch.rb

14 lines
278 B
Ruby

# frozen_string_literal: true
require 'licensee/license'
module Licensee
module LicensePatch
# Patch from https://github.com/licensee/licensee/pull/589
def ==(other)
other.is_a?(self.class) && key == other.key
end
end
License.prepend LicensePatch
end