@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 +2 -3
- package/dist/cli.js.map +1 -1
- package/dist/console/assets/index-DYY5rtzO.css +1 -0
- package/dist/console/index.html +2 -2
- package/dist/lambda/event-processor/.bundled +1 -1
- package/dist/lambda/inbound-processor/.bundled +1 -1
- package/dist/lambda/sms-event-processor/.bundled +1 -1
- package/package.json +1 -1
- package/dist/console/assets/index-B8Dwj3Ia.css +0 -1
- /package/dist/console/assets/{index-DdJUFEU6.js → index-Wy-UKvho.js} +0 -0
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
|
|
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
|
|
9920
|
+
await PulumiCommand.install();
|
|
9922
9921
|
return true;
|
|
9923
9922
|
} catch (_error) {
|
|
9924
9923
|
throw errors.pulumiNotInstalled();
|