@artus-cli/artus-cli
Advanced tools
Comparing version 0.0.2-beta.1 to 0.0.2-beta.2
@@ -262,6 +262,11 @@ "use strict"; | ||
} | ||
// all pass | ||
result.matched = result.fuzzyMatched; | ||
debug('Final match result is %s', result.matched.clz.name); | ||
return result; | ||
if (fuzzyMatched.isRunable) { | ||
// all pass | ||
result.matched = result.fuzzyMatched; | ||
debug('Final match result is %s', result.matched.clz.name); | ||
return result; | ||
} | ||
else { | ||
debug('Command is not implement'); | ||
} | ||
} | ||
@@ -268,0 +273,0 @@ result.error = new Error('Command not found'); |
{ | ||
"name": "@artus-cli/artus-cli", | ||
"version": "0.0.2-beta.1", | ||
"version": "0.0.2-beta.2", | ||
"description": "common-bin base on artus", | ||
@@ -11,5 +11,6 @@ "homepage": "https://github.com/artus-cli/artus-cli", | ||
"scripts": { | ||
"lint": "eslint . --ext .ts", | ||
"lint": "eslint . --ext .ts && tsc --noEmit", | ||
"test": "cross-env TS_NODE_PROJECT=test/tsconfig.json mocha", | ||
"cov": "c8 -n src/ npm test", | ||
"ci": "npm run cov", | ||
"tsc": "rm -rf dist && tsc", | ||
@@ -16,0 +17,0 @@ "prepack": "npm run tsc" |
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
56772
1413