diff options
| author | mo khan <mo.khan@gmail.com> | 2020-02-18 13:23:29 -0700 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-02-18 13:23:29 -0700 |
| commit | effde26ffbf6c94742aa5e99f98ee3d4f7cc12cd (patch) | |
| tree | 1c6fa587917fa8954523dfb0d645c95aebd92eee | |
| parent | 6b1bf9f28f36c3e28329cbcf232d976db9a81b71 (diff) | |
Remove temporary monkey patch needed before the 5.9.2 upgrade
| -rw-r--r-- | lib/license/management.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/license/management.rb b/lib/license/management.rb index 8804c36..37fe1a0 100644 --- a/lib/license/management.rb +++ b/lib/license/management.rb @@ -13,20 +13,6 @@ require 'license/management/version' # This applies a monkey patch to the JsonReport found in the `license_finder` gem. LicenseFinder::JsonReport.prepend(License::Management::Report) -# This monkey patch can be removed once we upgrade to license_finder 5.9.2. Details [here](https://gitlab.com/gitlab-org/gitlab/issues/13748#note_235810786). -module LicenseFinder - class Bundler < PackageManager - def definition - @definition ||= - begin - Dir.chdir(project_path.to_s) do - ::Bundler::Definition.build(detected_package_path, lockfile_path, nil) - end - end - end - end -end - module License module Management def self.root |
