DeepScan fixes

This commit is contained in:
Luis Fernando Molina committed 2021-11-24 20:47:01 +01:00
1 parent 9ea7cfeb2c
commit cfe8511ca1
4 files changed
+12 -12

No files matched your search

+1 -1
View File
@@ -360,7 +360,7 @@ exports.newHttpInterface = function newHttpInterface() {
}
}
}
break
case 'Docs': {
switch (requestPath[2]) { // switch by command
case 'Save-Node-Schema': {
@@ -265,10 +265,10 @@ function newGovernanceFunctionLibraryProfileConstructor() {
console.log('Call to WEB3 Server failed. ' + response.error)
return
}
signSigningAccountData(response.address, response.privateKey)
signSigningAccountData(response.privateKey)
}
function signSigningAccountData(address, privateKey) {
function signSigningAccountData(privateKey) {
let request = {
url: 'WEB3',
+7 -7
View File
@@ -113,13 +113,13 @@ exports.newNetworkModulesUserProfiles = function newNetworkModulesUserProfiles()
let networkClientsMap = new Map()
addToNetworkClientMap(algoTradersPlatform, 'Algo Traders Platform')
addToNetworkClientMap(socialTradingDesktopApp, 'Social Trading Desktop App')
addToNetworkClientMap(socialTradingMobileApp, 'Social Trading Mobile App')
addToNetworkClientMap(socialTradingServerApp, 'Social Trading Server App')
addToNetworkClientMap(socialTradingBots, 'Social Trading Bot')
addToNetworkClientMap(socialPersonas, 'Social Persona')
addToNetworkClientMap(p2pNetworkNodes, 'P2P Network Node')
addToNetworkClientMap(algoTradersPlatform)
addToNetworkClientMap(socialTradingDesktopApp)
addToNetworkClientMap(socialTradingMobileApp)
addToNetworkClientMap(socialTradingServerApp)
addToNetworkClientMap(socialTradingBots)
addToNetworkClientMap(socialPersonas)
addToNetworkClientMap(p2pNetworkNodes)
function addToNetworkClientMap(nodeArray) {
for (let i = 0; i < nodeArray.length; i++) {
@@ -19,7 +19,7 @@ exports.newVisualScriptingUtilitiesNodeFunctions = function () {
if (startingNode === undefined) {
return
}
let schemaDocument = SA.projects.foundations.globals.schemas.APP_SCHEMA_MAP.get(startingNode.project + '-' + startingNode.type)
if (schemaDocument === undefined) { return }
@@ -57,7 +57,7 @@ exports.newVisualScriptingUtilitiesNodeFunctions = function () {
returns the first instance found.
*/
let nodeFound
scanNodeMesh(node, nodeType)
scanNodeMesh(node)
return nodeFound
function scanNodeMesh(startingNode) {