Skip to content

Commit 8b91fac

Browse files
committed
remove double arrow
1 parent 60b8ad0 commit 8b91fac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gruntfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ function isNotUnimportant(dest) {
1515
/^build\.xml$/,
1616
/^phpcs-ruleset\.xml$/,
1717
/^phpmd\.xml$/
18-
].some(expr => expr.test(filename));
18+
].some(function(expr) { expr.test(filename) });
1919

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

2828
const allowed = !(filenameDisallowed || destDisallowed);
2929

0 commit comments

Comments
 (0)