cpu() Apple Silicon M1 mem

This commit is contained in:
Sebastian Hildebrandt 2020-12-17 23:05:46 +01:00
parent 6c222d4dcc
commit afc2002145

View File

@ -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,