Skip to content

Commit

Permalink
remove generic mapper
Browse files Browse the repository at this point in the history
  • Loading branch information
hjrocha committed Jul 24, 2024
1 parent ce87852 commit 3e45125
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/docgen/parsing.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ func semgrepRules(destinationDir string) ([]PatternWithExplanation, *ParsedSemgr
allRules := parsedSemgrepRegistryRules.Rules
allRules = append(allRules, parsedGitLabRules.Rules...)
allRules = append(allRules, parsedCodacyRules.Rules...)

fmt.Println("Converting rules...")
pwes := allRules.toPatternWithExplanation()

Expand Down Expand Up @@ -453,7 +452,6 @@ func toCodacyLanguages(r SemgrepRule) []string {
"dart": "Dart",
"dockerfile": "Dockerfile",
"elixir": "Elixir",
"generic": "Generic",
"go": "Go",
"java": "Java",
"javascript": "Javascript",
Expand Down

0 comments on commit 3e45125

Please sign in to comment.