Fixed epic typo.

This commit is contained in:
flash 2024-06-10 03:41:41 +00:00
parent 0cf468407f
commit 1752bf7fb3

View file

@ -60,7 +60,7 @@ module.exports.folder = async (root, options) => {
const bvTarget = args.shift(); const bvTarget = args.shift();
const bvSourceName = trimEnd(args.join(' '), ';'); const bvSourceName = trimEnd(args.join(' '), ';');
const bvSource = options.vars[bvSourceName]; const bvSource = options.vars[bvSourceName];
if(typeof bvSource !== 'objects' || bvSource === null) if(typeof bvSource !== 'object' || bvSource === null)
throw `INVALID VARS SOURCE: ${bvSourceName}`; throw `INVALID VARS SOURCE: ${bvSourceName}`;
const bvProps = []; const bvProps = [];