@salesforce/cli 1.51.0 → 1.53.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
@@ -118,7 +118,7 @@ function create(version, channel, run, env = env_1.default) {
118
118
  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
- return run ? run(args, config) : await (0, core_1.run)(args, config);
121
+ return run ? run(args, config) : (0, core_1.run)(args, config);
122
122
  },
123
123
  };
124
124
  }
@@ -25,7 +25,7 @@ class SfHelp extends core_1.Help {
25
25
  .filter((c) => c.startsWith(cmd) && c !== cmd)
26
26
  .map((c) => `${c.replace(cmd, '')}`);
27
27
  }
28
- return await super.showHelp(argv);
28
+ return super.showHelp(argv);
29
29
  }
30
30
  getCommandHelpClass(command) {
31
31
  this.commandHelpClass = super.getCommandHelpClass(command);