added logo

This commit is contained in:
Sebastian Hildebrandt 2018-09-06 20:23:24 +02:00
parent 942e497025
commit 4e3e401a87
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,7 @@
# systeminformation
![micro-monitor](https://www.plus-innovations.com/images/system-information-100.png)
Simple system and OS information library for [node.js][nodejs-url]
[![NPM Version][npm-image]][npm-url]

View File

@ -156,9 +156,11 @@ function powerShell(cmd) {
result = result + data.toString('utf8');
});
child.stderr.on('data', function (data) {
child.kill();
reject(data);
});
child.on('close', function () {
child.kill();
resolve(result);
});
@ -168,7 +170,6 @@ function powerShell(cmd) {
});
}
function noop() { }
exports.isFunction = isFunction;