typescript-coverage-report icon indicating copy to clipboard operation
typescript-coverage-report copied to clipboard

Bug: .gitignored directories aren't ignored

Open OmgImAlexis opened this issue 2 years ago • 3 comments

Describe the bug My dist directory is showing up in the report.

To Reproduce

  1. Make a directory called dist.
  2. Add it to your .gitignore.
  3. Run typescript-coverage-report.

Expected behaviour dist to be ignored as it's in the .gitignore.

Environment

  • Tool version: ^0.6.0
  • OS: macOS
  • Node version: v16.x

OmgImAlexis avatar Jul 24 '21 01:07 OmgImAlexis

@OmgImAlexis shouldn't you add dist to your ignore folders in the tsconfig instead?

alexcanessa avatar Dec 20 '21 15:12 alexcanessa

@alexcanessa no as I have my includes setup. Is this not respecting the includes? :thinking:

OmgImAlexis avatar Dec 20 '21 19:12 OmgImAlexis

@OmgImAlexis in theory it matches anything that TS matches too? I am not sure.

alexcanessa avatar Dec 20 '21 22:12 alexcanessa