|
|
|
@ -107,7 +107,10 @@ module.exports = function (state) {
|
|
|
|
|
task: task,
|
|
|
|
|
taskVersion: taskVersion,
|
|
|
|
|
resultLimit: 1000, // TODO: Make configurable
|
|
|
|
|
dependencyTaskDefinitions: JSON.stringify(taskDependencies)
|
|
|
|
|
dependencyTaskDefinitions: JSON.stringify(taskDependencies.map((dependency) => {
|
|
|
|
|
// Case-mapping for SQL compatibility
|
|
|
|
|
return { task_version: dependency.taskVersion, task: dependency.task };
|
|
|
|
|
}))
|
|
|
|
|
});
|
|
|
|
|
}).then((result) => {
|
|
|
|
|
let timeElapsed = Date.now() - startTime;
|
|
|
|
|