oh yeah right duh

This commit is contained in:
flash 2024-06-10 03:01:00 +00:00
parent d0c17dc7f2
commit 4d7162fea1

View file

@ -39,6 +39,9 @@ module.exports.process = async (env, tasks) => {
if(!(type in types)) if(!(type in types))
throw `${type} is not a supported build task type`; throw `${type} is not a supported build task type`;
if(!(type in tasks))
continue;
const typeTasks = tasks[type]; const typeTasks = tasks[type];
if(!Array.isArray(typeTasks)) if(!Array.isArray(typeTasks))
throw 'children of the tasks object must be arrays'; throw 'children of the tasks object must be arrays';