summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/license/finder/ext/go_modules.rb6
-rw-r--r--lib/license/management/version.rb2
2 files changed, 5 insertions, 3 deletions
diff --git a/lib/license/finder/ext/go_modules.rb b/lib/license/finder/ext/go_modules.rb
index 63b4772..a0fcb96 100644
--- a/lib/license/finder/ext/go_modules.rb
+++ b/lib/license/finder/ext/go_modules.rb
@@ -15,8 +15,10 @@ module LicenseFinder
end
def current_packages
- modules = vendored? ? parse_go_sum : go_list_all
- modules.map { |hash| map_from(hash) }.compact
+ within_project_path do
+ modules = vendored? ? parse_go_sum : go_list_all
+ modules.map { |hash| map_from(hash) }.compact
+ end
end
private
diff --git a/lib/license/management/version.rb b/lib/license/management/version.rb
index f67050b..8ffd30d 100644
--- a/lib/license/management/version.rb
+++ b/lib/license/management/version.rb
@@ -2,6 +2,6 @@
module License
module Management
- VERSION = '3.26.0'
+ VERSION = '3.26.1'
end
end