Comparing version 1.0.11 to 1.0.12
@@ -74,3 +74,3 @@ "use strict"; | ||
AST.isArgument(node.parts[i + 1])) || | ||
(!argValue && optionNode.opt === optionName)) { | ||
(argValue === undefined && optionNode.opt === optionName)) { | ||
return true; | ||
@@ -77,0 +77,0 @@ } |
{ | ||
"name": "kmdr-ast", | ||
"version": "1.0.11", | ||
"version": "1.0.12", | ||
"description": "Traverse the AST of an explanation by kmdr", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -125,3 +125,3 @@ /** | ||
AST.isArgument(node.parts[i + 1])) || | ||
(!argValue && optionNode.opt === optionName) | ||
(argValue === undefined && optionNode.opt === optionName) | ||
) { | ||
@@ -339,2 +339,3 @@ return true; | ||
*/ | ||
/** | ||
@@ -341,0 +342,0 @@ * Get the Program of a command |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
77506