summaryrefslogtreecommitdiff
path: root/lib/license/finder/ext
diff options
context:
space:
mode:
Diffstat (limited to 'lib/license/finder/ext')
-rw-r--r--lib/license/finder/ext/bundler.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/license/finder/ext/bundler.rb b/lib/license/finder/ext/bundler.rb
index a5fe21d..a40a698 100644
--- a/lib/license/finder/ext/bundler.rb
+++ b/lib/license/finder/ext/bundler.rb
@@ -17,7 +17,7 @@ module LicenseFinder
def current_packages
with_clean_bundler do
stdout, _stderr, status = shell.execute(scan_command, env: default_env)
- return super unless status.success?
+ return [] unless status.success?
stdout.each_line.map do |line|
map_from(JSON.parse(line, symbolize_names: true))