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) { }
|
} 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,
|
||||||
|
Loading…
Reference in New Issue
Block a user