From 1752bf7fb3910c3520fe09632b11b0b10c68f164 Mon Sep 17 00:00:00 2001 From: flashwave Date: Mon, 10 Jun 2024 03:41:41 +0000 Subject: [PATCH] Fixed epic typo. --- src/combine.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = [];