We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5a4576 commit 6285b3dCopy full SHA for 6285b3d
pocs_yml/utils/load.go
@@ -39,7 +39,8 @@ func SelectPoc(Pocs embed.FS, pocname string) []string {
39
}
40
var foundFiles []string
41
for _, entry := range entries {
42
- if strings.HasPrefix(entry.Name(), pocname+"-") {
+ //if strings.HasPrefix(entry.Name(), pocname+"-") {
43
+ if -1 < strings.Index(entry.Name(), pocname) {
44
foundFiles = append(foundFiles, entry.Name())
45
46
0 commit comments