From afc20021453e25a27bd91b790e53aa3632542b88 Mon Sep 17 00:00:00 2001 From: Sebastian Hildebrandt Date: Thu, 17 Dec 2020 23:05:46 +0100 Subject: [PATCH] cpu() Apple Silicon M1 mem --- lib/memory.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/memory.js b/lib/memory.js index b035fd9..13f18d0 100644 --- a/lib/memory.js +++ b/lib/memory.js @@ -425,7 +425,7 @@ function memLayout(callback) { if (!result.length) { const lines = stdout.toString().split('\n'); const size = parseInt(util.getValue(lines, ' Memory:')); - const type = parseInt(util.getValue(lines, ' Type:'),); + const type = util.getValue(lines, ' Type:'); if (size && type) { result.push({ size,