Fix memory calculation for android
This commit is contained in:
parent
f0c4811f16
commit
42f8ea1845
|
@ -5,9 +5,10 @@ const DarwinPlatform = require('./platforms/darwin');
|
||||||
|
|
||||||
function getMethods() {
|
function getMethods() {
|
||||||
const classes = {
|
const classes = {
|
||||||
'win32': WindowsPlatform,
|
'win32': WindowsPlatform,
|
||||||
'linux': LinuxPlatform,
|
'linux': LinuxPlatform,
|
||||||
'darwin': DarwinPlatform
|
'android': LinuxPlatform,
|
||||||
|
'darwin': DarwinPlatform
|
||||||
};
|
};
|
||||||
|
|
||||||
return classes[process.platform];
|
return classes[process.platform];
|
||||||
|
|
Loading…
Reference in New Issue