add support for rules download in cli mode #338
Annotations
6 errors and 1 warning
lint:
main.go#L146
Error return value of `os.MkdirAll` is not checked (errcheck)
|
lint:
main.go#L170
Error return value of `threatintel.ProcessTarGz` is not checked (errcheck)
|
lint:
main.go#L143
printf: github.com/sirupsen/logrus.Debug call has possible Printf formatting directive %+v (govet)
|
lint:
pkg/threatintel/utils.go#L33
Error return value of `file.WriteString` is not checked (errcheck)
|
lint:
pkg/threatintel/utils.go#L48
Error return value of `r.WriteSource` is not checked (errcheck)
|
lint
issues found
|
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|