@salesforce/cli 1.62.0 → 1.63.0

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/dist/cli.js CHANGED
@@ -113,8 +113,7 @@ function create(version, channel, run, env = env_1.default) {
113
113
  debugCliInfo(version, channel, env, config);
114
114
  if (args[0] === 'doctor') {
115
115
  // The doctor command requires CLI version details obtained from the CLI's oclif config.
116
- const versionCmd = new plugin_version_1.VersionCommand(['--verbose', '--json'], config);
117
- const versionDetail = await versionCmd.run();
116
+ const versionDetail = (await plugin_version_1.VersionCommand.run(['--verbose', '--json']));
118
117
  plugin_info_1.Doctor.init(config, versionDetail);
119
118
  }
120
119
  // Example of how run is used in a test https://github.com/salesforcecli/cli/pull/171/files#diff-1deee0a575599b2df117c280da319f7938aaf6fdb0c04bcdbde769dbf464be69R46