Stop messing with the config objet

This commit is contained in:
Godzil
2018-07-19 23:15:42 +01:00
parent 817843c40c
commit 8c1e0f2e0c
4 changed files with 25 additions and 18 deletions

View File

@@ -71,7 +71,12 @@ export default function(args: string[], done: (err?: Error) => void)
return done();
}
series(tasksArr[i].config, tasksArr[i].address, (errin) =>
if (config.debug)
{
log.dumpToDebug('Task ' + i, JSON.stringify(tasksArr[i]));
}
series(config, tasksArr[i], (errin) =>
{
if (errin)
{