aboutsummaryrefslogtreecommitdiff
path: root/internal/osv
diff options
context:
space:
mode:
Diffstat (limited to 'internal/osv')
-rw-r--r--internal/osv/affected.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/osv/affected.go b/internal/osv/affected.go
index 8cbd84c1..e552b3a6 100644
--- a/internal/osv/affected.go
+++ b/internal/osv/affected.go
@@ -11,7 +11,7 @@ func (e Entry) AffectedModulesAndPackages() []string {
var affected []string
for _, a := range e.Affected {
switch a.Module.Path {
- case "stdlib", "toolchain":
+ case GoStdModulePath, GoCmdModulePath:
// Name specific standard library packages and tools.
for _, p := range a.EcosystemSpecific.Packages {
affected = append(affected, p.Path)