fix: disable development low disk space

This commit is contained in:
Andras Bacsai 2022-09-28 08:39:33 +02:00
parent cb9586270c
commit df31e47313

View File

@ -1651,10 +1651,10 @@ export async function cleanupDockerStorage(dockerId, lowDiskSpace, force) {
} }
} catch (error) { } } catch (error) { }
if (lowDiskSpace || force) { if (lowDiskSpace || force) {
if (isDev) { // if (isDev) {
if (!force) console.log(`[DEV MODE] Low disk space: ${lowDiskSpace}`); // if (!force) console.log(`[DEV MODE] Low disk space: ${lowDiskSpace}`);
return; // return;
} // }
try { try {
await executeDockerCmd({ await executeDockerCmd({
dockerId, dockerId,