ソースを参照

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 1 ヶ月 前
コミット
153fd1e974
1 ファイル変更1 行追加1 行削除
  1. 1 1
      .gitignore

+ 1 - 1
.gitignore

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