@treeseed/sdk 0.5.2 → 0.5.3
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.
|
@@ -1543,12 +1543,22 @@ function ensureTreeseedActVerificationTooling({ tenantRoot = process.cwd(), inst
|
|
|
1543
1543
|
attemptedInstall: false,
|
|
1544
1544
|
installedDuringConfig: false
|
|
1545
1545
|
});
|
|
1546
|
-
const
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1546
|
+
const wranglerCli = (() => {
|
|
1547
|
+
try {
|
|
1548
|
+
const wranglerCheck = checkCommand(process.execPath, [resolveWranglerBin(), "--version"], { cwd: tenantRoot, env });
|
|
1549
|
+
return toolStatus(
|
|
1550
|
+
"wranglerCli",
|
|
1551
|
+
wranglerCheck.ok,
|
|
1552
|
+
wranglerCheck.ok ? wranglerCheck.stdout.split("\n")[0] ?? "Wrangler CLI detected." : wranglerCheck.detail || "Wrangler CLI is unavailable."
|
|
1553
|
+
);
|
|
1554
|
+
} catch (error) {
|
|
1555
|
+
return toolStatus(
|
|
1556
|
+
"wranglerCli",
|
|
1557
|
+
false,
|
|
1558
|
+
error instanceof Error && error.message ? error.message : "Wrangler CLI is unavailable."
|
|
1559
|
+
);
|
|
1560
|
+
}
|
|
1561
|
+
})();
|
|
1552
1562
|
const railwayCheck = checkCommand("railway", ["--version"], { cwd: tenantRoot, env });
|
|
1553
1563
|
const railwayCli = toolStatus(
|
|
1554
1564
|
"railwayCli",
|