From 3fe6f0b9ebb40f9d9d189d10b8c87afcd89de176 Mon Sep 17 00:00:00 2001 From: andreinknv Date: Tue, 28 Apr 2026 10:17:26 -0400 Subject: [PATCH] fix(gitignore): anchor "coverage/" rule to repo root The unanchored "coverage/" rule (intended to ignore the test-output directory at repo root) silently matches any "coverage/" directory in the tree. This bit a real PR: src/coverage/ was added but never made it into the commit because git add silently dropped the files. The PR shipped with the test importing a module that didn't exist. Anchor the rule to "/coverage/" so it only ignores root-level test output, allowing src/coverage/, packages/*/coverage/, etc. to be committed normally. --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index c6bad3a1..7c154ae1 100644 --- a/.gitignore +++ b/.gitignore @@ -18,7 +18,7 @@ dist/ Thumbs.db # Test coverage -coverage/ +/coverage/ .nyc_output/ # Environment