diff options
Diffstat (limited to 'lib/license/finder')
| -rw-r--r-- | lib/license/finder/ext/bower.rb | 5 |
1 files changed, 4 insertions, 1 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 |
