Skip to content

Fix lint: rename cachedErr to errCachedRead, fix var block ordering

58d8e69
Select commit
Loading
Failed to load commit list.
Merged

✨ Skip checks that don't apply to the current repo type #5000

Fix lint: rename cachedErr to errCachedRead, fix var block ordering
58d8e69
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Apr 8, 2026 in 1s

70.73% of diff hit (target 66.80%)

View this Pull Request on Codecov

70.73% of diff hit (target 66.80%)

Annotations

Check warning on line 105 in clients/azuredevopsrepo/repo.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

clients/azuredevopsrepo/repo.go#L104-L105

Added lines #L104 - L105 were not covered by tests

Check warning on line 171 in clients/gitlabrepo/repo.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

clients/gitlabrepo/repo.go#L170-L171

Added lines #L170 - L171 were not covered by tests

Check warning on line 74 in clients/localdir/repo.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

clients/localdir/repo.go#L73-L74

Added lines #L73 - L74 were not covered by tests

Check warning on line 163 in cmd/root.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/root.go#L163

Added line #L163 was not covered by tests

Check warning on line 157 in cmd/serve.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/serve.go#L157

Added line #L157 was not covered by tests

Check warning on line 185 in policy/policy.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

policy/policy.go#L185

Added line #L185 was not covered by tests

Check warning on line 249 in policy/policy.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

policy/policy.go#L249

Added line #L249 was not covered by tests