added logo
This commit is contained in:
parent
942e497025
commit
4e3e401a87
@ -1,5 +1,7 @@
|
|||||||
# systeminformation
|
# systeminformation
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
Simple system and OS information library for [node.js][nodejs-url]
|
Simple system and OS information library for [node.js][nodejs-url]
|
||||||
|
|
||||||
[![NPM Version][npm-image]][npm-url]
|
[![NPM Version][npm-image]][npm-url]
|
||||||
|
|||||||
@ -156,9 +156,11 @@ function powerShell(cmd) {
|
|||||||
result = result + data.toString('utf8');
|
result = result + data.toString('utf8');
|
||||||
});
|
});
|
||||||
child.stderr.on('data', function (data) {
|
child.stderr.on('data', function (data) {
|
||||||
|
child.kill();
|
||||||
reject(data);
|
reject(data);
|
||||||
});
|
});
|
||||||
child.on('close', function () {
|
child.on('close', function () {
|
||||||
|
child.kill();
|
||||||
resolve(result);
|
resolve(result);
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -168,7 +170,6 @@ function powerShell(cmd) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function noop() { }
|
function noop() { }
|
||||||
|
|
||||||
exports.isFunction = isFunction;
|
exports.isFunction = isFunction;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user