Comparing version 3.0.0-rc.9 to 3.0.0-rc.10
@@ -52,5 +52,8 @@ 'use strict'; | ||
const command = new commandClass(); | ||
for (const [key, value] of Object.entries(command)) | ||
if (typeof value === `object` && value !== null && value[Command.Command.isOption]) | ||
for (const key in command) { | ||
const value = command[key]; | ||
if (typeof value === `object` && value !== null && value[Command.Command.isOption]) { | ||
specs.set(key, value); | ||
} | ||
} | ||
const builder = this.builder.command(); | ||
@@ -57,0 +60,0 @@ const index = builder.cliIndex; |
{ | ||
"name": "clipanion", | ||
"version": "3.0.0-rc.9", | ||
"version": "3.0.0-rc.10", | ||
"main": "lib/advanced/index", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
195400
4626