@supacloud/admin 0.7.3 → 0.7.4

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -26535,7 +26535,7 @@ ${upgradeExecution.stdout.slice(-300)}${edgeBoundary}`;
26535
26535
  const command = assertSafeExecCommand(args.command);
26536
26536
  const r = await ssh.exec(command, getExecTimeoutMs(args.timeout_seconds));
26537
26537
  if (!r.success) {
26538
- const diagnostic = (r.stderr || r.stdout).trim() || "no remote diagnostic";
26538
+ const diagnostic = r.stderr.trim() || r.stdout.trim() || "no remote diagnostic";
26539
26539
  throw new Error(`Remote diagnostic command failed (exit ${r.code}): ${diagnostic.slice(-500)}`);
26540
26540
  }
26541
26541
  text = `exit: ${r.code}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supacloud/admin",
3
- "version": "0.7.3",
3
+ "version": "0.7.4",
4
4
  "description": "Platform administration CLI for SupaCloud operators",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",