From 2e7dccf1dc288a1e18bc6680193fe9e9d4fa34b9 Mon Sep 17 00:00:00 2001 From: Pranav Gaikwad Date: Thu, 19 Dec 2024 15:18:51 -0500 Subject: [PATCH] :bug: update go provider Signed-off-by: Pranav Gaikwad --- cmd/analyze.go | 2 +- pkg/testing/runner.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/analyze.go b/cmd/analyze.go index d592e49..f409f1e 100644 --- a/cmd/analyze.go +++ b/cmd/analyze.go @@ -816,7 +816,7 @@ func (a *analyzeCommand) getConfigVolumes() (map[string]string, error) { "lspServerName": "generic", "workspaceFolders": []string{fmt.Sprintf("file://%s", otherProvsMountPath)}, "dependencyProviderPath": "/usr/local/bin/golang-dependency-provider", - provider.LspServerPathConfigKey: "/root/go/bin/gopls", + provider.LspServerPathConfigKey: "/usr/local/bin/gopls", }, }, }, diff --git a/pkg/testing/runner.go b/pkg/testing/runner.go index a52e123..1493ad7 100644 --- a/pkg/testing/runner.go +++ b/pkg/testing/runner.go @@ -68,7 +68,7 @@ var defaultProviderConfig = []provider.Config{ AnalysisMode: provider.FullAnalysisMode, ProviderSpecificConfig: map[string]interface{}{ "lspServerName": "generic", - provider.LspServerPathConfigKey: "/root/go/bin/gopls", + provider.LspServerPathConfigKey: "/usr/local/bin/gopls", "lspServerArgs": []string{}, "dependencyProviderPath": "/usr/local/bin/golang-dependency-provider", },