Skip to content

Commit 96fc209

Browse files
committed
Don't force mix.combine() to accept an array.
A string with a regular expression would be fine.
1 parent 5dc00a2 commit 96fc209

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

src/Verify.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -55,19 +55,6 @@ class Verify {
5555
}
5656

5757

58-
/**
59-
* Verify that the call the mix.combine() is valid.
60-
*
61-
* @param {Array} src
62-
*/
63-
static combine(src) {
64-
assert(
65-
Array.isArray(src),
66-
'mix.combine() requires an array as its first parameter.'
67-
);
68-
}
69-
70-
7158
/**
7259
* Verify that the necessary dependency is available.
7360
*

src/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,6 @@ module.exports.preprocess = (type, src, output, pluginOptions) => {
196196
* @param {string} output
197197
*/
198198
module.exports.combine = (src, output) => {
199-
Verify.combine(src);
200-
201199
Mix.concat.add({ src, output });
202200

203201
return this;

0 commit comments

Comments
 (0)