@oclif/core
Advanced tools
Comparing version 4.0.24 to 4.0.25
@@ -240,3 +240,4 @@ "use strict"; | ||
const argvToParse = hookResult.successes?.length | ||
? hookResult.successes.find((s) => s.plugin.root === cache_1.default.getInstance().get('rootPlugin')?.root)?.result ?? argv | ||
? (hookResult.successes.find((s) => s.plugin.root === cache_1.default.getInstance().get('rootPlugin')?.root)?.result ?? | ||
argv) | ||
: argv; | ||
@@ -284,3 +285,3 @@ this.argv = [...argvToParse]; | ||
return; | ||
const foundAliases = aliases.filter((alias) => this.argv.some((a) => a.startsWith(alias))); | ||
const foundAliases = aliases.filter((alias) => this.argv.includes(alias)); | ||
for (const alias of foundAliases) { | ||
@@ -287,0 +288,0 @@ let preferredUsage = `--${flagDef?.name}`; |
{ | ||
"name": "@oclif/core", | ||
"description": "base library for oclif CLIs", | ||
"version": "4.0.24", | ||
"version": "4.0.25", | ||
"author": "Salesforce", | ||
@@ -6,0 +6,0 @@ "bugs": "https://github.com/oclif/core/issues", |
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
400608
10090