diff --git a/src/combine.js b/src/combine.js index 6287302..d64b59e 100644 --- a/src/combine.js +++ b/src/combine.js @@ -60,7 +60,7 @@ module.exports.folder = async (root, options) => { const bvTarget = args.shift(); const bvSourceName = trimEnd(args.join(' '), ';'); const bvSource = options.vars[bvSourceName]; - if(typeof bvSource !== 'objects' || bvSource === null) + if(typeof bvSource !== 'object' || bvSource === null) throw `INVALID VARS SOURCE: ${bvSourceName}`; const bvProps = [];