diff --git a/src/utils/machineInfo.ts b/src/utils/machineInfo.ts index 600460e4d..9cf61eb6d 100644 --- a/src/utils/machineInfo.ts +++ b/src/utils/machineInfo.ts @@ -2,7 +2,7 @@ import * as os from 'os'; import Logger from './logger'; export default class MachineInfo { - static show() { + static show(): void { const totalmem = (os.totalmem() / 1024 / 1024 / 1024).toFixed(1); const freemem = (os.freemem() / 1024 / 1024 / 1024).toFixed(1); let logger = new Logger('Machine');