diff options
| author | mo khan <mo.khan@gmail.com> | 2020-11-10 18:43:31 +0000 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-11-10 18:43:31 +0000 |
| commit | 191185c4303768c6d9a1431c35143501c06ee4d7 (patch) | |
| tree | 97e7ac6fffec356e57b0c52e10eacd716281830e /lib/license/finder/ext/bundler.rb | |
| parent | 1bc270fea3b352b44dfcef3fe16e97a2bbd4d7a5 (diff) | |
| parent | 91f1671c67de9c51407f8527d8fc6197463151d2 (diff) | |
Stream `npm ci` output to log
See merge request gitlab-org/security-products/analyzers/license-finder!16
Diffstat (limited to 'lib/license/finder/ext/bundler.rb')
| -rw-r--r-- | lib/license/finder/ext/bundler.rb | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/license/finder/ext/bundler.rb b/lib/license/finder/ext/bundler.rb index b8c755b..9c9c045 100644 --- a/lib/license/finder/ext/bundler.rb +++ b/lib/license/finder/ext/bundler.rb @@ -11,16 +11,15 @@ module LicenseFinder shell.execute([ :gem, :install, gem, '--no-document', - '--verbose', '--no-update-sources', '--ignore-dependencies', '--no-suggestions', '--local' - ], env: default_env) + ], env: default_env, capture: false) end - shell.execute([:asdf, :reshim], env: default_env) - shell.execute([:bundle, :config, '--local', :path, vendor_path], env: default_env) - shell.execute([:bundle, :install, '--verbose'], env: default_env) + shell.execute([:asdf, :reshim], env: default_env, capture: false) + shell.execute([:bundle, :config, '--local', :path, vendor_path], env: default_env, capture: false) + shell.execute([:bundle, :install], env: default_env, capture: false) end end |
