fix: actually include cmd/service/service.go in the repo
The initial .gitignore had 'service' as a bare pattern, which matches the cmd/service directory and silently excluded the entire mock implementation (~28KB of main source). Anchor the ignore patterns to the repo root so they only match top-level build artefacts, and force-add the real source now.
This commit is contained in:
@@ -25,8 +25,7 @@ repos:
|
||||
- repo: https://github.com/lietu/go-pre-commit
|
||||
rev: v1.0.0
|
||||
hooks:
|
||||
- id: gofumpt
|
||||
- id: golangci-lint-full
|
||||
- id: go-test
|
||||
- repo: https://github.com/gitleaks/gitleaks
|
||||
rev: v8.28.0
|
||||
hooks:
|
||||
|
||||
Reference in New Issue
Block a user