Merge remote-tracking branch 'upstream/develop' into next-version
This commit is contained in:
commit
5ca8680d98
346 files changed
+4095
-1087
No files matched your search
+11
-4
@@ -1114,9 +1114,10 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE
|
||||
icons.push([project, file])
|
||||
}
|
||||
|
||||
projectCounter++
|
||||
if (projectCounter === totalProjects) {
|
||||
respondWithContent(JSON.stringify(icons), httpResponse)
|
||||
projectCounter++
|
||||
if (projectCounter === totalProjects) {
|
||||
respondWithContent(JSON.stringify(icons), httpResponse)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1132,7 +1133,13 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE
|
||||
let folder = global.env.PATH_TO_PROJECTS + '/' + project + '/Plugins/' + pluginType
|
||||
|
||||
fs.readdir(folder, (err, files) => {
|
||||
respondWithContent(JSON.stringify(files), httpResponse)
|
||||
if (err) {
|
||||
console.log('[ERROR] Error reading PluginFileNames.', err.stack)
|
||||
respondWithContent(JSON.stringify(global.DEFAULT_FAIL_RESPONSE), httpResponse)
|
||||
return
|
||||
} else {
|
||||
respondWithContent(JSON.stringify(files), httpResponse)
|
||||
}
|
||||
})
|
||||
}
|
||||
break
|
||||
|
||||
Generated
+3
-3
@@ -2899,9 +2899,9 @@
|
||||
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
|
||||
},
|
||||
"ws": {
|
||||
"version": "7.2.3",
|
||||
"resolved": "https://registry.npmjs.org/ws/-/ws-7.2.3.tgz",
|
||||
"integrity": "sha512-HTDl9G9hbkNDk98naoR/cHDws7+EyYMOdL1BmjsZXRUjf7d+MficC4B7HLUPlSiho0vg+CWKrGIt/VJBd1xunQ=="
|
||||
"version": "7.4.6",
|
||||
"resolved": "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz",
|
||||
"integrity": "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A=="
|
||||
},
|
||||
"xhr": {
|
||||
"version": "2.5.0",
|
||||
|
||||
+1
-1
@@ -14,6 +14,6 @@
|
||||
"rimraf": "^3.0.2",
|
||||
"simple-git": "^2.31.0",
|
||||
"web3": "^1.3.0",
|
||||
"ws": "^7.1.2"
|
||||
"ws": "^7.4.6"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user