oh yeah right duh
This commit is contained in:
parent
d0c17dc7f2
commit
4d7162fea1
1 changed files with 3 additions and 0 deletions
|
@ -39,6 +39,9 @@ module.exports.process = async (env, tasks) => {
|
|||
if(!(type in types))
|
||||
throw `${type} is not a supported build task type`;
|
||||
|
||||
if(!(type in tasks))
|
||||
continue;
|
||||
|
||||
const typeTasks = tasks[type];
|
||||
if(!Array.isArray(typeTasks))
|
||||
throw 'children of the tasks object must be arrays';
|
||||
|
|
Loading…
Reference in a new issue