type-coverage-core
Advanced tools
Comparing version 2.3.1 to 2.4.0
@@ -31,3 +31,5 @@ "use strict"; | ||
if (!file.includes('node_modules') && (!lintOptions.files || lintOptions.files.includes(file))) { | ||
file = path.relative(process.cwd(), file); | ||
if (!lintOptions.absolutePath) { | ||
file = path.relative(process.cwd(), file); | ||
} | ||
if (ignoreFileGlobs && ignoreFileGlobs.some((f) => minimatch_1.default(file, f))) { | ||
@@ -34,0 +36,0 @@ continue; |
@@ -27,2 +27,3 @@ import ts from 'typescript'; | ||
fileCounts: boolean; | ||
absolutePath?: boolean; | ||
} | ||
@@ -29,0 +30,0 @@ export interface FileContext { |
{ | ||
"name": "type-coverage-core", | ||
"version": "2.3.1", | ||
"version": "2.4.0", | ||
"description": "A library to check type coverage for typescript code", | ||
@@ -22,3 +22,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "146b44ee49b1a3441ce777b180875e1af30a0b43" | ||
"gitHead": "b4b685db49bae87d46fd34b8fd780d3dd4889fd0" | ||
} |
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
61972
1289