jsir 2.6.4 → 2.6.5

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.
Files changed (2) hide show
  1. package/deps/room.js +5 -2
  2. package/package.json +1 -1
package/deps/room.js CHANGED
@@ -121,9 +121,12 @@ async function initNodes() {
121
121
  if (configNodes.length > 0) {
122
122
  for (const node of configNodes) {
123
123
  let ss = node.split("@").map(trim).filter(i => i);
124
- nodes[ss[1]] = {}
125
124
  if (ss.length > 1) {
126
- nodes[ss[1]].account = ss[0]
125
+ nodes[ss[1]] = {
126
+ account: ss[0]
127
+ }
128
+ } else {
129
+ nodes[ss[0]] = {}
127
130
  }
128
131
  }
129
132
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jsir",
3
- "version": "2.6.4",
3
+ "version": "2.6.5",
4
4
  "description": "JavaScript Script Management Tool",
5
5
  "main": "index.js",
6
6
  "scripts": {