[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot]
2025-12-14 05:11:51 +00:00
committed by GitHub
parent 19a7a80d43
commit ba5283039c
+4 -2
View File
@@ -262,7 +262,9 @@ export const cleanupSystem = async (serverId?: string) => {
* *
* https://github.com/Dokploy/dokploy/pull/3266 * https://github.com/Dokploy/dokploy/pull/3266
*/ */
const excludedCleanupAllCommands: (keyof typeof cleanupCommands)[] = ['volumes']; const excludedCleanupAllCommands: (keyof typeof cleanupCommands)[] = [
"volumes",
];
export const cleanupAll = async (serverId?: string) => { export const cleanupAll = async (serverId?: string) => {
for (const [key, command] of Object.entries(cleanupCommands)) { for (const [key, command] of Object.entries(cleanupCommands)) {
@@ -290,7 +292,7 @@ export const cleanupAllBackground = async (serverId?: string) => {
await execAsync(dockerSafeExec(command)); await execAsync(dockerSafeExec(command));
} }
} catch {} } catch {}
}) }),
) )
.then((results) => { .then((results) => {
const failed = results.filter((r) => r.status === "rejected"); const failed = results.filter((r) => r.status === "rejected");