@oclif/core 1.6.2 → 1.6.3

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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.6.3](https://github.com/oclif/core/compare/v1.6.2...v1.6.3) (2022-03-23)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * use plugin alias if available ([245d841](https://github.com/oclif/core/commit/245d84197a64e55b17524c22cbc17ec025a07c08))
11
+
5
12
  ### [1.6.2](https://github.com/oclif/core/compare/v1.6.1...v1.6.2) (2022-03-23)
6
13
 
7
14
 
package/lib/help/index.js CHANGED
@@ -111,7 +111,8 @@ class Help extends HelpBase {
111
111
  (0, errors_1.error)(`Command ${subject} not found.`);
112
112
  }
113
113
  async getDynamicCommand(command) {
114
- const plugin = new plugin_1.Plugin({ ignoreManifest: true, root: this.config.root, name: command.pluginName });
114
+ var _a;
115
+ const plugin = new plugin_1.Plugin({ ignoreManifest: true, root: this.config.root, name: (_a = command.pluginAlias) !== null && _a !== void 0 ? _a : command.pluginName });
115
116
  await plugin.load();
116
117
  const cmd = await plugin.findCommand(command.id);
117
118
  if (!cmd) {
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": "1.6.2",
4
+ "version": "1.6.3",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/oclif/core/issues",
7
7
  "dependencies": {