Skip to content

Commit

Permalink
Merge pull request #6696 from Checkmarx/update-comments
Browse files Browse the repository at this point in the history
update(comments): comments related to files extensions updated
  • Loading branch information
pereiramarco011 authored Sep 7, 2023
2 parents 67cf0f8 + 50b9d37 commit 82a9846
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/analyzer/analyzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -385,12 +385,14 @@ func (a *analyzerInfo) worker(results, unwanted chan<- string, locCount chan<- i
results <- grpc
locCount <- linesCount
}
// It could be Ansible Config or Ansible Inventory
case ".cfg", ".conf", ".ini":
if a.isAvailableType(ansible) {
results <- ansible
locCount <- linesCount
}
// It could be Ansible, Buildah, CloudFormation, Crossplane, or OpenAPI
/* It could be Ansible, Buildah, CloudFormation, Crossplane, OpenAPI, Azure Resource Manager
Docker Compose, Knative, Kubernetes, Pulumi, ServerlessFW or Google Deployment Manager*/
case yaml, yml, json, sh:
a.checkContent(results, unwanted, locCount, linesCount, ext)
}
Expand Down

0 comments on commit 82a9846

Please sign in to comment.