Procházet zdrojové kódy

fix(gitignore): anchor "coverage/" rule to repo root (#127)

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.
andreinknv před 1 měsícem
rodič
revize
153fd1e974
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      .gitignore

+ 1 - 1
.gitignore

@@ -18,7 +18,7 @@ dist/
 Thumbs.db
 
 # Test coverage
-coverage/
+/coverage/
 .nyc_output/
 
 # Environment