type-coverage-core
Advanced tools
Comparing version 2.16.1 to 2.16.2
@@ -115,3 +115,4 @@ "use strict"; | ||
const include = config.include; | ||
const exclude = config.exclude || ['node_modules/**']; | ||
// exclude only works when include exists: https://www.typescriptlang.org/tsconfig#exclude | ||
const exclude = include ? config.exclude || ['node_modules/**'] : ['node_modules/**']; | ||
const files = (_b = (_a = config.files) === null || _a === void 0 ? void 0 : _a.map(f => path.resolve(dirname, f))) !== null && _b !== void 0 ? _b : []; | ||
@@ -118,0 +119,0 @@ if (include && Array.isArray(include) && include.length > 0) { |
{ | ||
"name": "type-coverage-core", | ||
"version": "2.16.1", | ||
"version": "2.16.2", | ||
"description": "A library to check type coverage for typescript code", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53858
1531