Remove unnecessary console logs from backup and restore compose functions to improve code cleanliness and maintainability.

This commit is contained in:
Mauricio Siu
2025-05-01 20:28:20 -06:00
parent c8e2f4bfdc
commit 25f3980492
2 changed files with 0 additions and 4 deletions

View File

@@ -22,7 +22,6 @@ export const restoreComposeBackup = async (
const command = getFindContainerCommand(compose, metadata.serviceName);
console.log("command", command);
let containerId = "";
if (serverId) {
const { stdout, stderr } = await execAsyncRemote(serverId, command);
@@ -31,8 +30,6 @@ export const restoreComposeBackup = async (
containerId = stdout.trim();
} else {
const { stdout, stderr } = await execAsync(command);
console.log("stdout", stdout);
console.log("stderr", stderr);
emit(stdout);
emit(stderr);
containerId = stdout.trim();