1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-08-17 06:00:33 +03:00

fix: typo missing "GB" for Free RAM

This commit is contained in:
Divlo 2023-05-15 23:42:27 +02:00
parent f6a501d4e1
commit 5539130dd9
No known key found for this signature in database
GPG Key ID: 8F9478F220CE65E9
2 changed files with 4 additions and 4 deletions

View File

@ -159,11 +159,11 @@ dotenv.config()
if (Math.round(freeRAMInGB) < MINIMUM_REQUIRED_RAM) {
report.can_run.v = false
LogHelper.error(
`Free RAM: ${freeRAMInGB} | Total RAM: ${totalRAMInGB} GB. Leon needs at least ${MINIMUM_REQUIRED_RAM} GB of RAM`
`Free RAM: ${freeRAMInGB} GB | Total RAM: ${totalRAMInGB} GB. Leon needs at least ${MINIMUM_REQUIRED_RAM} GB of RAM`
)
} else {
LogHelper.success(
`Free RAM: ${freeRAMInGB} | Total RAM: ${totalRAMInGB} GB`
`Free RAM: ${freeRAMInGB} GB | Total RAM: ${totalRAMInGB} GB`
)
}

View File

@ -101,11 +101,11 @@ const GLOBAL_DATA_SCHEMAS = {
if (freeRAMInGB < MINIMUM_REQUIRED_RAM) {
LogHelper.warning(
`Free RAM: ${freeRAMInGB} | Total RAM: ${totalRAMInGB} GB. Leon needs at least ${MINIMUM_REQUIRED_RAM} GB of RAM. It may not work as expected.`
`Free RAM: ${freeRAMInGB} GB | Total RAM: ${totalRAMInGB} GB. Leon needs at least ${MINIMUM_REQUIRED_RAM} GB of RAM. It may not work as expected.`
)
} else {
LogHelper.success(
`Minimum required RAM: ${MINIMUM_REQUIRED_RAM} GB | Free RAM: ${freeRAMInGB} | Total RAM: ${totalRAMInGB} GB`
`Minimum required RAM: ${MINIMUM_REQUIRED_RAM} GB | Free RAM: ${freeRAMInGB} GB | Total RAM: ${totalRAMInGB} GB`
)
}