Allow license.code

I've seen a few repo when code and docs have different license, like github.com/docker/swarm

Might we add license.code to the list ?
This commit is contained in:
Victor Vieux
2016-02-10 13:46:23 -08:00
parent e806adc2af
commit 8c1104b9b6

View File

@@ -23,7 +23,7 @@ func (g License) Weight() float64 {
// thank you https://github.com/ryanuber/go-license
var licenses = []string{
"license", "license.txt", "license.md",
"license", "license.txt", "license.md", "license.code",
"copying", "copying.txt", "copying.md",
"unlicense",
}