bandersnatch
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -19,9 +19,9 @@ "use strict"; | ||
function isArgument(obj) { | ||
return obj.constructor.name === 'Argument'; | ||
return obj instanceof argument_1.Argument; | ||
} | ||
function isOption(obj) { | ||
return obj.constructor.name === 'Option'; | ||
return obj instanceof option_1.Option; | ||
} | ||
function isCommand(obj) { | ||
return obj.constructor.name === 'Command'; | ||
return obj instanceof Command; | ||
} | ||
@@ -95,2 +95,3 @@ /** | ||
else { | ||
console.log('add', { obj, command: this }); | ||
throw new Error('Not implemented.'); | ||
@@ -97,0 +98,0 @@ } |
{ | ||
"name": "bandersnatch", | ||
"description": "Simple TypeScript CLI / REPL framework", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"repository": { | ||
@@ -46,2 +46,4 @@ "type": "git", | ||
"devDependencies": { | ||
"@semantic-release/changelog": "5.0.1", | ||
"@semantic-release/git": "9.0.0", | ||
"@types/jest": "26.0.4", | ||
@@ -48,0 +50,0 @@ "@types/node": "14.0.20", |
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
60663
24
1169
14