From 4d7162fea16caae876e388aecf6f6bd44d67c261 Mon Sep 17 00:00:00 2001 From: flashwave Date: Mon, 10 Jun 2024 03:01:00 +0000 Subject: [PATCH] oh yeah right duh --- src/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/index.js b/src/index.js index a95771d..b245c2d 100644 --- a/src/index.js +++ b/src/index.js @@ -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';