@salesforce/cli 1.61.1 → 1.62.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 +2 -2
- package/npm-shrinkwrap.json +1004 -919
- package/oclif.manifest.json +1 -1
- package/package.json +48 -47
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');
|
|
@@ -115,7 +115,7 @@ function create(version, channel, run, env = env_1.default) {
|
|
|
115
115
|
// The doctor command requires CLI version details obtained from the CLI's oclif config.
|
|
116
116
|
const versionCmd = new plugin_version_1.VersionCommand(['--verbose', '--json'], config);
|
|
117
117
|
const versionDetail = await versionCmd.run();
|
|
118
|
-
|
|
118
|
+
plugin_info_1.Doctor.init(config, versionDetail);
|
|
119
119
|
}
|
|
120
120
|
// Example of how run is used in a test https://github.com/salesforcecli/cli/pull/171/files#diff-1deee0a575599b2df117c280da319f7938aaf6fdb0c04bcdbde769dbf464be69R46
|
|
121
121
|
return run ? run(args, config) : (0, core_1.run)(args, config);
|