fix(golangci): be compliant with golangci-linter
All checks were successful
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Successful in 16s
Lint Markdown files / Run markdown linter (push) Successful in 3s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Successful in 1m15s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 51s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 2m25s

This commit is contained in:
2025-08-12 16:52:25 +02:00
parent 95f3b6b56f
commit 878a0194ae

View File

@ -37,6 +37,7 @@ func (c *Collector) collectFileContents() {
}
fullPath := filepath.Join(c.folderPath, fileName)
// #nosec G304
content, err := os.ReadFile(fullPath)
if err != nil {
c.appendErrorForPath(fileName)