From 96fc2091477a99cc19e714715f99c3d4aa468ff7 Mon Sep 17 00:00:00 2001 From: Jeffrey Way Date: Mon, 20 Feb 2017 10:18:32 -0500 Subject: [PATCH] Don't force mix.combine() to accept an array. A string with a regular expression would be fine. --- src/Verify.js | 13 ------------- src/index.js | 2 -- 2 files changed, 15 deletions(-) diff --git a/src/Verify.js b/src/Verify.js index f964ecf8b..171de3910 100644 --- a/src/Verify.js +++ b/src/Verify.js @@ -55,19 +55,6 @@ class Verify { } - /** - * Verify that the call the mix.combine() is valid. - * - * @param {Array} src - */ - static combine(src) { - assert( - Array.isArray(src), - 'mix.combine() requires an array as its first parameter.' - ); - } - - /** * Verify that the necessary dependency is available. * diff --git a/src/index.js b/src/index.js index 2bf716907..bd165d5da 100644 --- a/src/index.js +++ b/src/index.js @@ -196,8 +196,6 @@ module.exports.preprocess = (type, src, output, pluginOptions) => { * @param {string} output */ module.exports.combine = (src, output) => { - Verify.combine(src); - Mix.concat.add({ src, output }); return this;