Skip Comment Feature #1008
Annotations
10 errors and 1 warning
src/common/yaml/yaml_writer.go#L269
[golangci-lint] reported by reviewdog 🐶
File is not `gofmt`-ed with `-s` (gofmt)
Raw Output:
src/common/yaml/yaml_writer.go:269: File is not `gofmt`-ed with `-s` (gofmt)
func MapResourcesLineYAML(filePath string, resourceNames []string, resourcesStartToken string) (map[string]*structure.Lines ,[]string ){
|
src/common/yaml/yaml_writer_test.go#L231
[golangci-lint] reported by reviewdog 🐶
File is not `gofmt`-ed with `-s` (gofmt)
Raw Output:
src/common/yaml/yaml_writer_test.go:231: File is not `gofmt`-ed with `-s` (gofmt)
res,_ := MapResourcesLineYAML("../../../tests/cloudformation/resources/duplicate_entries/duplicate_cfn.yaml", []string{"S3Bucket", "CloudFrontDistribution"}, "Resources")
|
src/cloudformation/structure/cloudformation_parser.go#L143
[golangci-lint] reported by reviewdog 🐶
File is not `gofmt`-ed with `-s` (gofmt)
Raw Output:
src/cloudformation/structure/cloudformation_parser.go:143: File is not `gofmt`-ed with `-s` (gofmt)
resourceNamesToLines,skipResourcesByComment = yaml.MapResourcesLineYAML(filePath, resourceNames, ResourcesStartToken)
|
src/cloudformation/structure/cloudformation_parser_test.go#L126
[golangci-lint] reported by reviewdog 🐶
File is not `gofmt`-ed with `-s` (gofmt)
Raw Output:
src/cloudformation/structure/cloudformation_parser_test.go:126: File is not `gofmt`-ed with `-s` (gofmt)
actual,_:= yaml.MapResourcesLineYAML(filePath, resourcesNames, ResourcesStartToken)
|
src/terraform/structure/terraform_parser_test.go#L833
[golangci-lint] reported by reviewdog 🐶
File is not `gofmt`-ed with `-s` (gofmt)
Raw Output:
src/terraform/structure/terraform_parser_test.go:833: File is not `gofmt`-ed with `-s` (gofmt)
|
src/common/runner/runner.go#L163
[golangci-lint] reported by reviewdog 🐶
File is not `gofmt`-ed with `-s` (gofmt)
Raw Output:
src/common/runner/runner.go:163: File is not `gofmt`-ed with `-s` (gofmt)
func (r *Runner) isSkippedResource(resource string,skipResource [] string) bool {
|
src/common/yaml/yaml_writer_test.go#L252
[golangci-lint] reported by reviewdog 🐶
File is not `goimports`-ed (goimports)
Raw Output:
src/common/yaml/yaml_writer_test.go:252: File is not `goimports`-ed (goimports)
assert.NotEqual(t,skipResourceByComment, "NewVolume2")
|
src/cloudformation/structure/cloudformation_parser.go#L117
[golangci-lint] reported by reviewdog 🐶
ineffectual assignment to skipResourcesByComment (ineffassign)
Raw Output:
src/cloudformation/structure/cloudformation_parser.go:117:2: ineffectual assignment to skipResourcesByComment (ineffassign)
skipResourcesByComment := make([]string, 0)
^
|
src/serverless/structure/serverless_parser.go#L76
[golangci-lint] reported by reviewdog 🐶
ineffectual assignment to skipResourcesByComment (ineffassign)
Raw Output:
src/serverless/structure/serverless_parser.go:76:2: ineffectual assignment to skipResourcesByComment (ineffassign)
skipResourcesByComment := make([]string, 0)
^
|
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: reviewdog/action-golangci-lint@94d61e3205b61acf4ddabfeb13c5f8a13eb4167b. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The logs for this run have expired and are no longer available.
Loading