process Config cleaned out
This commit is contained in:
1 parent
dec432c0fb
commit
0eaf3255b3
10 files changed
+65
-88
No files matched your search
@@ -13,10 +13,7 @@
|
||||
function start(processIndex) {
|
||||
try {
|
||||
let botModuleObject
|
||||
|
||||
let botConfig = TS.projects.superalgos.globals.taskConstants.TASK_NODE.bot.processes[processIndex].referenceParent.parentNode.config
|
||||
let processConfig = TS.projects.superalgos.globals.taskConstants.TASK_NODE.bot.processes[processIndex].referenceParent.config
|
||||
|
||||
let VARIABLES_BY_PROCESS_INDEX
|
||||
/*
|
||||
We will use a logger for what happens before and after the bot main loop.
|
||||
@@ -82,7 +79,7 @@
|
||||
let botModule = project.botModules[botModuleDefinition.propertyName]
|
||||
let moduleFunction = botModule[botModuleDefinition.functionName]
|
||||
botModuleObject = moduleFunction(processIndex)
|
||||
botModuleObject.initialize(processConfig, onInitializeReady);
|
||||
botModuleObject.initialize(onInitializeReady);
|
||||
}
|
||||
catch (err) {
|
||||
console.log(logDisplace + "[ERROR] start -> err = " + err.stack);
|
||||
|
||||
Reference in new issue
Block a user