@zuplo/cli
Advanced tools
Comparing version 1.35.0 to 1.36.0
@@ -32,2 +32,3 @@ import { logger } from "../../common/logger.js"; | ||
else { | ||
printDiagnosticsToConsole(polledTearDownOperation.details); | ||
printCriticalFailureToConsoleAndExit(`Tunnel ${argv["tunnel-id"]} failed to delete. Here's the error: ${polledTearDownOperation.message}`); | ||
@@ -34,0 +35,0 @@ } |
@@ -21,3 +21,3 @@ import { logger } from "../../common/logger.js"; | ||
const tunnels = await listResponse.json(); | ||
if (tunnels.length === 0) { | ||
if (tunnels.data.length === 0) { | ||
const output = "No tunnels found"; | ||
@@ -27,3 +27,3 @@ printResultToConsoleAndExitGracefully(output); | ||
else { | ||
const table = tunnels.map((tunnel) => { | ||
const table = tunnels.data.map((tunnel) => { | ||
return { "tunnel-id": tunnel.id, name: tunnel.name }; | ||
@@ -30,0 +30,0 @@ }); |
@@ -42,2 +42,3 @@ import { readFile } from "node:fs/promises"; | ||
else { | ||
printDiagnosticsToConsole(polledProvisioningOperation.details); | ||
printCriticalFailureToConsoleAndExit(`Tunnel ${argv["tunnel-id"]} failed to update. Here's the error: ${polledProvisioningOperation.message}`); | ||
@@ -44,0 +45,0 @@ } |
{ | ||
"name": "@zuplo/cli", | ||
"version": "1.35.0", | ||
"version": "1.36.0", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/zuplo/cli", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
66940
52
1623