Skip to content

Find, verify, and analyze leaked credentials

[chore] - update detector template file (#1500)

ahrav3b00c0062c0d
diff --git a/hack/generate/generate.go b/hack/generate/generate.go
index 6ea2ef5b4..0575c98b3 100644
--- a/hack/generate/generate.go
+++ b/hack/generate/generate.go
@@ -34,14 +34,14 @@ func main() {
case "detector":
mustWriteTemplates([]templateJob{
{
- TemplatePath: "pkg/detectors/heroku/heroku.go",
+ TemplatePath: "pkg/detectors/alchemy/alchemy.go",
WritePath: filepath.Join(folderPath(), nameLower+".go"),
- ReplaceString: []string{"heroku"},
+ ReplaceString: []string{"alchemy"},
},
{
- TemplatePath: "pkg/detectors/heroku/heroku_test.go",
+ TemplatePath: "pkg/detectors/alchemy/alchemy_test.go",
WritePath: filepath.Join(folderPath(), nameLower+"_test.go"),
- ReplaceString: []string{"heroku"},
+ ReplaceString: []string{"alchemy"},
},
})
// case "source":