diff --git a/src/index.js b/src/index.js index 2f0b737..a95771d 100644 --- a/src/index.js +++ b/src/index.js @@ -33,6 +33,9 @@ module.exports.process = async (env, tasks) => { const files = {}; for(const type of order) { + if(!types.hasOwnProperty(type)) + continue; + if(!(type in types)) throw `${type} is not a supported build task type`;