diff options
| author | Can Eldem <celdem@gitlab.com> | 2020-05-21 13:44:04 +0000 |
|---|---|---|
| committer | Can Eldem <celdem@gitlab.com> | 2020-05-21 13:44:04 +0000 |
| commit | 537fbadd38b8f67b4a8f1ea0089a9e5ad2aa82eb (patch) | |
| tree | c0e1075bb9be0abe5d5c9702b58fb745220f5ccf /lib/license | |
| parent | ffe3851eaf675da0bc82f144c48b7b16cc43d989 (diff) | |
| parent | d018033cf5542bf35ff7e60d28806655f5ea83ed (diff) | |
Merge branch '212923-bower-small' into 'master'v3.9.2
Provide Bower with a `bower_ca` variable when a custom CA is specified.
See merge request gitlab-org/security-products/license-management!151
Diffstat (limited to 'lib/license')
| -rw-r--r-- | lib/license/finder/ext/bower.rb | 5 | ||||
| -rw-r--r-- | lib/license/management/version.rb | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/lib/license/finder/ext/bower.rb b/lib/license/finder/ext/bower.rb index ccfa7ee..d288b05 100644 --- a/lib/license/finder/ext/bower.rb +++ b/lib/license/finder/ext/bower.rb @@ -48,7 +48,10 @@ module LicenseFinder def default_env return {} unless shell.custom_certificate_installed? - { 'NPM_CONFIG_CAFILE' => ENV.fetch('NPM_CONFIG_CAFILE', shell.custom_certificate_path.to_s) } + { + 'NPM_CONFIG_CAFILE' => ENV.fetch('NPM_CONFIG_CAFILE', shell.custom_certificate_path.to_s), + 'bower_ca' => ENV.fetch('bower_ca', shell.custom_certificate_path.to_s) + } end end end diff --git a/lib/license/management/version.rb b/lib/license/management/version.rb index 0fe76f1..f3e2116 100644 --- a/lib/license/management/version.rb +++ b/lib/license/management/version.rb @@ -2,6 +2,6 @@ module License module Management - VERSION = '3.9.1' + VERSION = '3.9.2' end end |
