summaryrefslogtreecommitdiff
path: root/lib/license/finder/ext/npm.rb
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-11-10 01:30:35 +0000
committermo khan <mo.khan@gmail.com>2020-11-10 01:30:35 +0000
commit1bc270fea3b352b44dfcef3fe16e97a2bbd4d7a5 (patch)
tree8f61c9dccbd468de456e516113e9d6f289a7a157 /lib/license/finder/ext/npm.rb
parentf8200b265f63173c9b8d0b26470b449f512dbd17 (diff)
parent82338d974f42149e70f9163567940453f8f18b79 (diff)
Merge branch '273155-recursive' into 'main'v3.28.2
Detect maven/gradle wrapper in sub directory See merge request gitlab-org/security-products/analyzers/license-finder!15
Diffstat (limited to 'lib/license/finder/ext/npm.rb')
-rw-r--r--lib/license/finder/ext/npm.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/license/finder/ext/npm.rb b/lib/license/finder/ext/npm.rb
index e245d72..18af4a7 100644
--- a/lib/license/finder/ext/npm.rb
+++ b/lib/license/finder/ext/npm.rb
@@ -11,7 +11,7 @@ module LicenseFinder
tool_box.install(tool: :nodejs, env: default_env)
if lockfile?
- shell.execute([:npm, :ci, "--production"], env: default_env)
+ shell.execute([:npm, :ci, "--production"], env: default_env, capture: false)
else
shell.execute([:npm, :install, '--no-save', "--production"], env: default_env)
end