From 69f5bd506769f42b96a655601accbf9d766e919b Mon Sep 17 00:00:00 2001 From: DmitriyLewen <91113035+DmitriyLewen@users.noreply.github.com> Date: Wed, 18 Sep 2024 17:13:14 +0600 Subject: [PATCH] refactor: update comment Co-authored-by: Teppei Fukuda --- pkg/dependency/parser/java/pom/artifact.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/dependency/parser/java/pom/artifact.go b/pkg/dependency/parser/java/pom/artifact.go index 341fa941cd8f..4dc5311377e2 100644 --- a/pkg/dependency/parser/java/pom/artifact.go +++ b/pkg/dependency/parser/java/pom/artifact.go @@ -18,7 +18,7 @@ import ( var ( varRegexp = regexp.MustCompile(`\${(\S+?)}`) emptyVersionWarn = sync.OnceFunc(func() { - log.WithPrefix("pom").Warn("Dependency version is empty. Child dependencies will not be found.", + log.WithPrefix("pom").Warn("Dependency version cannot be determined. Child dependencies will not be found.", // e.g. https://aquasecurity.github.io/trivy/latest/docs/coverage/language/java/#empty-dependency-version log.String("details", doc.URL("/docs/coverage/language/java/", "empty-dependency-version"))) })