Skip to content

Commit

Permalink
exclude docs-specific license files from search list
Browse files Browse the repository at this point in the history
  • Loading branch information
frapposelli committed Jan 18, 2021
1 parent 37b1e1a commit 0e04f80
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions walker.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const (

var (
// FileNames used to search for licenses
// "LICENSE.docs" and "LICENCE.docs" are excluded from the list as we only care about source code in the repo.
FileNames = []string{
"COPYING",
"COPYING.md",
Expand All @@ -46,8 +47,6 @@ var (
"LICENCE.MIT",
"LICENSE.code",
"LICENCE.code",
"LICENSE.docs",
"LICENCE.docs",
"LICENSE.rst",
"LICENCE.rst",
"MIT-LICENSE",
Expand Down

0 comments on commit 0e04f80

Please sign in to comment.