From 42f8ea184580de0f46b8878f812b8921cbf0c369 Mon Sep 17 00:00:00 2001 From: SMLoardrDev Date: Tue, 10 Apr 2018 19:44:46 +0200 Subject: [PATCH] Fix memory calculation for android --- libs/node-memory-stats/index.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libs/node-memory-stats/index.js b/libs/node-memory-stats/index.js index 7dec6c0..47dce45 100644 --- a/libs/node-memory-stats/index.js +++ b/libs/node-memory-stats/index.js @@ -5,9 +5,10 @@ const DarwinPlatform = require('./platforms/darwin'); function getMethods() { const classes = { - 'win32': WindowsPlatform, - 'linux': LinuxPlatform, - 'darwin': DarwinPlatform + 'win32': WindowsPlatform, + 'linux': LinuxPlatform, + 'android': LinuxPlatform, + 'darwin': DarwinPlatform }; return classes[process.platform];