From 78d797748d25a30c00cfe05a462b133a645c37cf Mon Sep 17 00:00:00 2001 From: Emily McMullan Date: Mon, 25 Nov 2024 13:42:52 -0500 Subject: [PATCH] Update java provider & fix --list-providers (#384) update java prov & fix --list-provs Signed-off-by: Emily McMullan --- cmd/analyze.go | 2 +- go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/analyze.go b/cmd/analyze.go index 055bb06..967a4a3 100644 --- a/cmd/analyze.go +++ b/cmd/analyze.go @@ -235,7 +235,7 @@ func NewAnalyzeCmd(log logr.Logger) *cobra.Command { } return nil } - if analyzeCmd.listProviders { + if analyzeCmd.listProviders && !analyzeCmd.runLocal { err := analyzeCmd.ListSupportedProviders(cmd.Context()) if err != nil { log.Error(err, "failed to list providers") diff --git a/go.mod b/go.mod index 4a458d7..a10ed31 100644 --- a/go.mod +++ b/go.mod @@ -72,7 +72,7 @@ require ( github.com/fabianvf/windup-rulesets-yaml v0.5.3 github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/konveyor/analyzer-lsp v0.5.3 - github.com/konveyor/analyzer-lsp/external-providers/java-external-provider v0.0.0-20241107203043-172d684c168d + github.com/konveyor/analyzer-lsp/external-providers/java-external-provider v0.0.0-20241121143855-40356f86d20e github.com/shopspring/decimal v1.3.1 // indirect github.com/sirupsen/logrus v1.9.3 github.com/spf13/pflag v1.0.5 // indirect diff --git a/go.sum b/go.sum index d771a81..13bcf11 100644 --- a/go.sum +++ b/go.sum @@ -84,8 +84,8 @@ github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/konveyor/analyzer-lsp v0.5.3 h1:RPIcH5s5oQysfKz3o0rnK8pVmwp3MWpIdCheT1gklrw= github.com/konveyor/analyzer-lsp v0.5.3/go.mod h1:Gqj6MRUA2Jjjw19tUguJB6Bqj4dLwZzb68FmAUok0ac= -github.com/konveyor/analyzer-lsp/external-providers/java-external-provider v0.0.0-20241107203043-172d684c168d h1:P9hRAD/k1cTdOYJBVDuHESSUIbPsXS3hB3T0msSIryA= -github.com/konveyor/analyzer-lsp/external-providers/java-external-provider v0.0.0-20241107203043-172d684c168d/go.mod h1:0OaNuH9HgJZbXPKmblcAfJ+4qyuS5Rc0dp3kmMvjtKk= +github.com/konveyor/analyzer-lsp/external-providers/java-external-provider v0.0.0-20241121143855-40356f86d20e h1:uftzXgOWAxmrq4RAdg2dr66RloEDlBPmdYVPK5QXQuo= +github.com/konveyor/analyzer-lsp/external-providers/java-external-provider v0.0.0-20241121143855-40356f86d20e/go.mod h1:0OaNuH9HgJZbXPKmblcAfJ+4qyuS5Rc0dp3kmMvjtKk= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=