Skip to content

Commit

Permalink
Don't force mix.combine() to accept an array.
Browse files Browse the repository at this point in the history
A string with a regular expression would be fine.
  • Loading branch information
JeffreyWay committed Feb 20, 2017
1 parent 5dc00a2 commit 96fc209
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
13 changes: 0 additions & 13 deletions src/Verify.js
Expand Up @@ -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.
*
Expand Down
2 changes: 0 additions & 2 deletions src/index.js
Expand Up @@ -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;
Expand Down

0 comments on commit 96fc209

Please sign in to comment.