dead-code-checker
Advanced tools
Comparing version 0.0.3 to 0.0.4
#!/usr/bin/env node | ||
const { Command } = require('commander'); | ||
const version = require('./version'); | ||
const checker = require('./checker'); | ||
const DeadCodeChecker = require('../dist/index.js'); | ||
@@ -21,5 +20,6 @@ const program = new Command(); | ||
} else if (options.version) { | ||
version(); | ||
console.log(package.version); | ||
} else { | ||
checker(options); | ||
const checker = new DeadCodeChecker(options.folder); | ||
checker.run(); | ||
} |
{ | ||
"name": "dead-code-checker", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Dead code checker", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
10
109584
415