aaden-cli 1.6.59 → 1.6.60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -18455,7 +18455,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.19.2","description":"P
18455
18455
  /***/ ((module) => {
18456
18456
 
18457
18457
  "use strict";
18458
- module.exports = {"i8":"1.6.59"};
18458
+ module.exports = {"i8":"1.6.60"};
18459
18459
 
18460
18460
  /***/ })
18461
18461
 
@@ -19118,7 +19118,7 @@ async function removeAllData() {
19118
19118
 
19119
19119
  function getUpTime() {
19120
19120
  try {
19121
- return cli.executeInShell([''], program.debug, true).output.split(',')[0]
19121
+ return cli.executeInShell(['uptime'], program.debug, true).output.split(',')[0]
19122
19122
  } catch (e) {
19123
19123
  return e.message
19124
19124
  }
package/index.js CHANGED
@@ -589,7 +589,7 @@ async function removeAllData() {
589
589
 
590
590
  function getUpTime() {
591
591
  try {
592
- return cli.executeInShell([''], program.debug, true).output.split(',')[0]
592
+ return cli.executeInShell(['uptime'], program.debug, true).output.split(',')[0]
593
593
  } catch (e) {
594
594
  return e.message
595
595
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aaden-cli",
3
- "version": "1.6.59",
3
+ "version": "1.6.60",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {