Comparing version 0.1.2 to 0.1.3
{ | ||
"name": "eslintcc", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"homepage": "https://github.com/eslintcc/eslintcc", | ||
@@ -5,0 +5,0 @@ "description": "ESLintCC is a ECMAScript/JavaScript tool that computes complexity of code by using ESLint", |
@@ -37,6 +37,6 @@ 'use strict'; | ||
const complexity = new Complexity(options); | ||
const logger = new ReportLogger(complexity, options); | ||
new ReportLogger(complexity, options); | ||
const report = complexity.executeOnFiles(processArgs.argv); | ||
const exitWithError = report.errors.maxRank > 0 || report.errors.maxAverageRank; | ||
if (exitWithError && ['text'].includes(logger.options.format)) { | ||
if (exitWithError) { | ||
process.exit(1); | ||
@@ -43,0 +43,0 @@ } |
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
34461