diff options
Diffstat (limited to 'server/sonar-web/src/main/js/helpers/handlebars/operators.js')
-rw-r--r-- | server/sonar-web/src/main/js/helpers/handlebars/operators.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/helpers/handlebars/operators.js b/server/sonar-web/src/main/js/helpers/handlebars/operators.js index 7d7625ee5bd..a608417d4e2 100644 --- a/server/sonar-web/src/main/js/helpers/handlebars/operators.js +++ b/server/sonar-web/src/main/js/helpers/handlebars/operators.js @@ -20,7 +20,5 @@ module.exports = function (options) { const ops = ['LT', 'GT', 'EQ', 'NE']; - return ops.reduce(function (prev, current) { - return prev + options.fn(current); - }, ''); + return ops.reduce((prev, current) => prev + options.fn(current), ''); }; |