@oclif/core 2.1.5 → 2.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -551,7 +551,7 @@ class Config {
551
551
  for (const alias of command.aliases ?? []) {
552
552
  if (this._commands.has(alias)) {
553
553
  const prioritizedCommand = this.determinePriority([this._commands.get(alias), command]);
554
- this._commands.set(prioritizedCommand.id, { ...prioritizedCommand, id: alias });
554
+ this._commands.set(alias, { ...prioritizedCommand, id: alias });
555
555
  }
556
556
  else {
557
557
  this._commands.set(alias, { ...command, id: alias });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@oclif/core",
3
3
  "description": "base library for oclif CLIs",
4
- "version": "2.1.5",
4
+ "version": "2.1.6",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/oclif/core/issues",
7
7
  "dependencies": {