fixed node 4 incompatibility

This commit is contained in:
Sebastian Hildebrandt 2018-10-22 19:08:58 +02:00
parent 4fbbff2552
commit 758146cdef
2 changed files with 2 additions and 1 deletions

View File

@ -100,6 +100,7 @@ Other changes
| Version | Date | Comment |
| -------------- | -------------- | -------- |
| 3.45.9 | 2018-10-22 | fixed node 4 incompatibility |
| 3.45.8 | 2018-10-22 | `system()` fix Raspberry Pi detection |
| 3.45.7 | 2018-10-05 | fixed typos |
| 3.45.6 | 2018-09-12 | `mem()` bug parsing linux in other languages |

View File

@ -14,7 +14,7 @@
const os = require('os');
const fs = require('fs');
const { spawn } = require('child_process');
const spawn = require('child_process').spawn;
let _cores = 0;
let wmic = '';