@wraps.dev/cli 2.14.6 → 2.14.7

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
@@ -9903,9 +9903,8 @@ init_esm_shims();
9903
9903
  init_errors();
9904
9904
  import { exec } from "child_process";
9905
9905
  import { promisify } from "util";
9906
- import * as automation from "@pulumi/pulumi/automation/index.js";
9906
+ import { PulumiCommand } from "@pulumi/pulumi/automation/index.js";
9907
9907
  var execAsync = promisify(exec);
9908
- var installPulumiCli2 = automation.installPulumiCli;
9909
9908
  async function checkPulumiInstalled() {
9910
9909
  try {
9911
9910
  await execAsync("pulumi version");
@@ -9918,7 +9917,7 @@ async function ensurePulumiInstalled() {
9918
9917
  const isInstalled = await checkPulumiInstalled();
9919
9918
  if (!isInstalled) {
9920
9919
  try {
9921
- await installPulumiCli2();
9920
+ await PulumiCommand.install();
9922
9921
  return true;
9923
9922
  } catch (_error) {
9924
9923
  throw errors.pulumiNotInstalled();