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 c478fb3 commit 9bfafd2Copy full SHA for 9bfafd2
cmd/init.go
@@ -451,9 +451,7 @@ func buildDefaultConfigurationFiles(toolsConfigDir string) error {
451
return fmt.Errorf("failed to create default Trivy configuration: %w", err)
452
}
453
case domain.PMD:
454
- if err := createPMDConfigFile(patternsConfig, toolsConfigDir); err != nil {
455
- return fmt.Errorf("failed to create default PMD configuration: %w", err)
456
- }
+ continue // only use pmd6 for default configuration
457
case domain.PMD7:
458
if err := createPMD7ConfigFile(patternsConfig, toolsConfigDir); err != nil {
459
return fmt.Errorf("failed to create default PMD7 configuration: %w", err)
0 commit comments