We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f4620f commit 50f0e81Copy full SHA for 50f0e81
internal/enum/language/language.go
@@ -61,7 +61,7 @@ func (l Type) Vuln() string {
61
case Ruby:
62
return "ruby"
63
case Golang:
64
- return "go"
+ return "golang"
65
default:
66
return ""
67
}
internal/srt/version.go
@@ -31,11 +31,11 @@ func (ver *Version) weight() (weight int) {
31
// 后缀在后缀列表中取对应后缀权重
32
weight = w
33
} else {
34
- // 后缀不在后缀列表中权重为5
35
- weight = 5
+ // 后缀不在后缀列表中
+ weight = 8
36
37
38
- // 不存在后缀权重为4
+ // 不存在后缀
39
weight = 6
40
41
return weight
0 commit comments