chore(gitignore): narrow the test-file ignore rule to the repo root
`*test.go` matched every test file at any depth, which kept the real suite out of version control along with the scratch files it was meant to catch. Anchor the pattern to the repository root so ad-hoc test files dropped there stay untracked while the tests that live next to the code they cover are tracked. Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -6,6 +6,10 @@ bot_node_config.json
|
||||
*.exe
|
||||
nukumizu-linux-amd64
|
||||
|
||||
# Scratch test files dropped in the repo root stay untracked; the real suite
|
||||
# lives next to the code it covers (config/, handler/, ...) and is tracked.
|
||||
/*test.go
|
||||
|
||||
# The built web console. web/embed.go compiles it into the binary, and the
|
||||
# build-*.sh / build-*.bat scripts rebuild it before every compile.
|
||||
/web/dist/
|
||||
|
||||
Reference in New Issue
Block a user