Skip to content

Commit

Permalink
remove double arrow
Browse files Browse the repository at this point in the history
  • Loading branch information
SSilence committed Mar 17, 2017
1 parent 60b8ad0 commit 8b91fac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ function isNotUnimportant(dest) {
/^build\.xml$/,
/^phpcs-ruleset\.xml$/,
/^phpmd\.xml$/
].some(expr => expr.test(filename));
].some(function(expr) { expr.test(filename) });

const destDisallowed = [
/^vendor\/htmlawed\/htmlawed\/htmLawed(Test\.php|(.*\.(htm|txt)))$/,
/^vendor\/smottt\/wideimage\/demo/,
/^vendor\/simplepie\/simplepie\/(db\.sql|autoload\.php)$/,
/^vendor\/composer\/installed\.json$/,
/^vendor\/[^/]+\/[^/]+\/(test|doc)s?/
].some(expr => expr.test(dest));
].some(function(expr) { expr.test(dest) });

const allowed = !(filenameDisallowed || destDisallowed);

Expand Down

0 comments on commit 8b91fac

Please sign in to comment.