pinokiod 3.8.60 → 3.8.61

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.
@@ -72,6 +72,8 @@ class Router {
72
72
  console.log("matches", matches)
73
73
 
74
74
  // iterate through them and see if the port already exists
75
+ let count = matches ? new Set(matches).size : 0
76
+ /*
75
77
  let count = 0
76
78
  if (matches) {
77
79
  for(let match of matches) {
@@ -84,6 +86,7 @@ class Router {
84
86
  }
85
87
  }
86
88
  }
89
+ */
87
90
 
88
91
  console.log("count", count)
89
92
 
@@ -145,10 +148,11 @@ class Router {
145
148
  }
146
149
  }
147
150
  // replace :PORT_PLACEHOLDER with available ports
151
+ console.log("CONFIG BEFORE", JSON.stringify(this.config, null, 2))
148
152
 
149
153
  await this.fill()
150
154
 
151
- console.log("CONFIG", JSON.stringify(this.config, null, 2))
155
+ console.log("CONFIG AFTER", JSON.stringify(this.config, null, 2))
152
156
 
153
157
 
154
158
  let response = await axios.post('http://127.0.0.1:2019/load', this.config, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.8.60",
3
+ "version": "3.8.61",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {