Skip to content

Commit

Permalink
Deduplicate identical file patterns (#102)
Browse files Browse the repository at this point in the history
Fixes #57
  • Loading branch information
kevva authored and sindresorhus committed Feb 15, 2019
1 parent ba9c267 commit 2294618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -16,7 +16,7 @@ const assertPatternsInput = patterns => {
};

const generateGlobTasks = (patterns, taskOptions) => {
patterns = [].concat(patterns);
patterns = arrayUnion([].concat(patterns));
assertPatternsInput(patterns);

const globTasks = [];
Expand Down

0 comments on commit 2294618

Please sign in to comment.