-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.scan/licenseIssues relating to license scanningIssues relating to license scanning
Description
Description
There are cases when users use only vendor dir (go mod vendor) command.
For these cases we can't detect licenses from $GOPATH/pkg/mod dir.
New logic
graph TD
A[Detect licenses for go.mod files] --> B{vendor direxists?}
B -- yes --> C[use vendor dir to find licenses]
B -- no --> D[use $GOPATH/pkg/mod]
Discussed in #8517
Metadata
Metadata
Assignees
Labels
good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.scan/licenseIssues relating to license scanningIssues relating to license scanning