diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c246a9..15b5cc4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,6 +30,7 @@ For major (breaking) changes - version 3 and 2 see end of page. | Version | Date | Comment | | -------------- | -------------- | -------- | +| 4.14.3 | 2019-07-09 | `system()` sku fix windows | | 4.14.2 | 2019-07-07 | `networkConnections()` pid linux fix NAN | | 4.14.1 | 2019-07-04 | `graphics()` added display position windows | | 4.14.0 | 2019-07-03 | `processes()` added process path and params | diff --git a/docs/history.html b/docs/history.html index 456418f..c56c211 100644 --- a/docs/history.html +++ b/docs/history.html @@ -83,6 +83,11 @@ + + 4.14.3 + 2019-07-09 + system() sku fix windows + 4.14.2 2019-07-07 diff --git a/docs/index.html b/docs/index.html index 3ce406b..7433101 100644 --- a/docs/index.html +++ b/docs/index.html @@ -168,7 +168,7 @@
systeminformation
-
Current Version: 4.14.2
+
Current Version: 4.14.3
diff --git a/lib/system.js b/lib/system.js index 4ffac25..4e1855e 100644 --- a/lib/system.js +++ b/lib/system.js @@ -231,9 +231,10 @@ function system(callback) { if (callback) { callback(result); } resolve(result); }); + } else { + if (callback) { callback(result); } + resolve(result); } - if (callback) { callback(result); } - resolve(result); }); } catch (e) { if (callback) { callback(result); }