From 8b91facaa8e6ab299385afe9638c2a5cc1b35a2f Mon Sep 17 00:00:00 2001 From: Tobias Zeising Date: Fri, 17 Mar 2017 09:42:57 +0100 Subject: [PATCH] remove double arrow --- gruntfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gruntfile.js b/gruntfile.js index 3ffebacd88..148a93ce01 100644 --- a/gruntfile.js +++ b/gruntfile.js @@ -15,7 +15,7 @@ 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)))$/, @@ -23,7 +23,7 @@ function isNotUnimportant(dest) { /^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);