telos-server 1.0.26 → 1.0.28
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/package.json +1 -1
- package/telosServer.js +1 -2
- package/telosWrap.js +12 -1
package/package.json
CHANGED
package/telosServer.js
CHANGED
|
@@ -155,14 +155,13 @@ var telosServer = {
|
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
let config = telosUtils.getArguments(packet.content);
|
|
158
|
+
let options = config.options;
|
|
158
159
|
|
|
159
160
|
if(config.operation != 'telos-origin/telosOrigin.json' &&
|
|
160
161
|
options.port == null) {
|
|
161
162
|
|
|
162
163
|
return;
|
|
163
164
|
}
|
|
164
|
-
|
|
165
|
-
let options = config.options;
|
|
166
165
|
|
|
167
166
|
if(options.port != false) {
|
|
168
167
|
|
package/telosWrap.js
CHANGED
|
@@ -40,7 +40,18 @@ module.exports = require(
|
|
|
40
40
|
if(!fs.existsSync(telosPath)) {
|
|
41
41
|
|
|
42
42
|
fs.writeFileSync(
|
|
43
|
-
telosPath, fs.readFileSync(
|
|
43
|
+
telosPath, fs.readFileSync(
|
|
44
|
+
`${
|
|
45
|
+
process.cwd()
|
|
46
|
+
}${
|
|
47
|
+
path.sep
|
|
48
|
+
}node_modules${
|
|
49
|
+
path.sep
|
|
50
|
+
}telos-origin${
|
|
51
|
+
path.sep
|
|
52
|
+
}telosOrigin.js`,
|
|
53
|
+
'utf8'
|
|
54
|
+
)
|
|
44
55
|
);
|
|
45
56
|
}
|
|
46
57
|
}
|