@salesforce/cli 1.61.1 → 1.62.2
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 +3 -4
- package/npm-shrinkwrap.json +2113 -1419
- package/oclif.manifest.json +4 -1
- package/package.json +66 -55
package/dist/cli.js
CHANGED
|
@@ -13,7 +13,7 @@ const core_1 = require("@oclif/core");
|
|
|
13
13
|
const plugin_version_1 = require("@oclif/plugin-version");
|
|
14
14
|
const kit_1 = require("@salesforce/kit");
|
|
15
15
|
const ts_types_1 = require("@salesforce/ts-types");
|
|
16
|
-
const
|
|
16
|
+
const plugin_info_1 = require("@salesforce/plugin-info");
|
|
17
17
|
const Debug = require("debug");
|
|
18
18
|
const env_1 = require("./util/env");
|
|
19
19
|
const debug = Debug('sf');
|
|
@@ -113,9 +113,8 @@ 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
|
|
117
|
-
|
|
118
|
-
info_1.Doctor.init(config, versionDetail);
|
|
116
|
+
const versionDetail = (await plugin_version_1.VersionCommand.run(['--verbose', '--json']));
|
|
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
|
|
121
120
|
return run ? run(args, config) : (0, core_1.run)(args, config);
|