lint revive(deep-exit): refactor cmd/crowdsec #3063
46.66% of diff hit (target 0.00%)
View this Pull Request on Codecov
46.66% of diff hit (target 0.00%)
Annotations
Check warning on line 36 in cmd/crowdsec/crowdsec.go
codecov / codecov/patch
cmd/crowdsec/crowdsec.go#L36
Added line #L36 was not covered by tests
Check warning on line 95 in cmd/crowdsec/crowdsec.go
codecov / codecov/patch
cmd/crowdsec/crowdsec.go#L95
Added line #L95 was not covered by tests
Check warning on line 187 in cmd/crowdsec/crowdsec.go
codecov / codecov/patch
cmd/crowdsec/crowdsec.go#L187
Added line #L187 was not covered by tests
Check warning on line 195 in cmd/crowdsec/crowdsec.go
codecov / codecov/patch
cmd/crowdsec/crowdsec.go#L194-L195
Added lines #L194 - L195 were not covered by tests
Check warning on line 17 in cmd/crowdsec/dump.go
codecov / codecov/patch
cmd/crowdsec/dump.go#L17
Added line #L17 was not covered by tests
Check warning on line 23 in cmd/crowdsec/dump.go
codecov / codecov/patch
cmd/crowdsec/dump.go#L22-L23
Added lines #L22 - L23 were not covered by tests
Check warning on line 30 in cmd/crowdsec/dump.go
codecov / codecov/patch
cmd/crowdsec/dump.go#L29-L30
Added lines #L29 - L30 were not covered by tests
Check warning on line 37 in cmd/crowdsec/dump.go
codecov / codecov/patch
cmd/crowdsec/dump.go#L36-L37
Added lines #L36 - L37 were not covered by tests
Check warning on line 44 in cmd/crowdsec/dump.go
codecov / codecov/patch
cmd/crowdsec/dump.go#L44
Added line #L44 was not covered by tests
Check warning on line 48 in cmd/crowdsec/dump.go
codecov / codecov/patch
cmd/crowdsec/dump.go#L47-L48
Added lines #L47 - L48 were not covered by tests
Check warning on line 53 in cmd/crowdsec/dump.go
codecov / codecov/patch
cmd/crowdsec/dump.go#L52-L53
Added lines #L52 - L53 were not covered by tests
Check warning on line 393 in cmd/crowdsec/serve.go
codecov / codecov/patch
cmd/crowdsec/serve.go#L393
Added line #L393 was not covered by tests