fix: disable development low disk space
This commit is contained in:
parent
cb9586270c
commit
df31e47313
@ -1651,10 +1651,10 @@ export async function cleanupDockerStorage(dockerId, lowDiskSpace, force) {
|
||||
}
|
||||
} catch (error) { }
|
||||
if (lowDiskSpace || force) {
|
||||
if (isDev) {
|
||||
if (!force) console.log(`[DEV MODE] Low disk space: ${lowDiskSpace}`);
|
||||
return;
|
||||
}
|
||||
// if (isDev) {
|
||||
// if (!force) console.log(`[DEV MODE] Low disk space: ${lowDiskSpace}`);
|
||||
// return;
|
||||
// }
|
||||
try {
|
||||
await executeDockerCmd({
|
||||
dockerId,
|
||||
|
Loading…
Reference in New Issue
Block a user