type-coverage
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -42,3 +42,3 @@ "use strict"; | ||
if (failed) { | ||
throw new Error(`The type coverage rate(${percent.toFixed(2)}%) is lower than the target(${atLeast}%). \nYou can add '--detail' or use VSCode plugin to show detailed informations.`); | ||
throw new Error(`The type coverage rate(${percent.toFixed(2)}%) is lower than the target(${atLeast}%).`); | ||
} | ||
@@ -62,3 +62,3 @@ } | ||
console.log('type-coverage success.'); | ||
}, error => { | ||
}, (error) => { | ||
if (error instanceof Error) { | ||
@@ -65,0 +65,0 @@ console.log(error.message); |
{ | ||
"name": "type-coverage", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "A CLI tool to check type coverage for typescript code", | ||
@@ -10,3 +10,3 @@ "repository": "https://github.com/plantain-00/type-coverage.git", | ||
"minimist": "1.2.0", | ||
"type-coverage-core": "^2.0.2" | ||
"type-coverage-core": "^2.0.3" | ||
}, | ||
@@ -20,3 +20,3 @@ "files": [ | ||
}, | ||
"gitHead": "e3f7da37cb50d6fd93e04df8c3aac07d298ee030" | ||
"gitHead": "cb31bd7397a6d25920bb6314d07e1ef840c83cee" | ||
} |
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
4383
Updatedtype-coverage-core@^2.0.3