aaden-cli 1.1.106 → 1.1.107
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 +2 -2
- package/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -18248,7 +18248,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.19.2","description":"P
|
|
|
18248
18248
|
/***/ ((module) => {
|
|
18249
18249
|
|
|
18250
18250
|
"use strict";
|
|
18251
|
-
module.exports = {"i8":"1.1.
|
|
18251
|
+
module.exports = {"i8":"1.1.106"};
|
|
18252
18252
|
|
|
18253
18253
|
/***/ }),
|
|
18254
18254
|
|
|
@@ -18970,7 +18970,7 @@ async function startService () {
|
|
|
18970
18970
|
const deviceId = getMyDeviceId()
|
|
18971
18971
|
if (deviceId === -1) return
|
|
18972
18972
|
const filePath = '/home/aaden/biomace/application.yml'
|
|
18973
|
-
const res = fs.readFileSync(filePath)
|
|
18973
|
+
const res = fs.readFileSync(filePath).toString()
|
|
18974
18974
|
const out = res.replace('identifier: IK0001', 'identifier: ' + deviceId)
|
|
18975
18975
|
fs.writeFileSync(filePath, out)
|
|
18976
18976
|
|
package/index.js
CHANGED
|
@@ -558,7 +558,7 @@ async function startService () {
|
|
|
558
558
|
const deviceId = getMyDeviceId()
|
|
559
559
|
if (deviceId === -1) return
|
|
560
560
|
const filePath = '/home/aaden/biomace/application.yml'
|
|
561
|
-
const res = fs.readFileSync(filePath)
|
|
561
|
+
const res = fs.readFileSync(filePath).toString()
|
|
562
562
|
const out = res.replace('identifier: IK0001', 'identifier: ' + deviceId)
|
|
563
563
|
fs.writeFileSync(filePath, out)
|
|
564
564
|
|