summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/license/management/tool_box.rb1
-rw-r--r--spec/integration/go/modules_spec.rb2
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/license/management/tool_box.rb b/lib/license/management/tool_box.rb
index d2fe703..9362b5b 100644
--- a/lib/license/management/tool_box.rb
+++ b/lib/license/management/tool_box.rb
@@ -18,6 +18,7 @@ module License
elsif tool == :nodejs
shell.execute(['/opt/asdf/plugins/nodejs/bin/import-release-team-keyring'])
end
+ shell.execute([:asdf, "plugin-update", tool.to_s], env: env)
shell.execute([:asdf, :install, tool.to_s, version], env: env)
shell.execute([:asdf, :local, tool.to_s, version], env: env)
shell.execute([:asdf, :reshim], env: env)
diff --git a/spec/integration/go/modules_spec.rb b/spec/integration/go/modules_spec.rb
index 7d85b9f..6486096 100644
--- a/spec/integration/go/modules_spec.rb
+++ b/spec/integration/go/modules_spec.rb
@@ -15,7 +15,7 @@ RSpec.describe "modules" do
include_examples "each report version", "go", "modules"
- ['1.11', '1.12', '1.13', '1.14'].each do |version|
+ ['1.11', '1.12', '1.13', '1.14', '1.15'].each do |version|
context "when scanning a go.mod and go.sum files with v#{version}" do
before do
runner.add_file('main.go', fixture_file_content('go/main.go'))