diff options
Diffstat (limited to 'server/sonar-web/src/main/js/helpers/handlebars/eachIndex.js')
-rw-r--r-- | server/sonar-web/src/main/js/helpers/handlebars/eachIndex.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/helpers/handlebars/eachIndex.js b/server/sonar-web/src/main/js/helpers/handlebars/eachIndex.js index 37eb85e2301..6d1153548f7 100644 --- a/server/sonar-web/src/main/js/helpers/handlebars/eachIndex.js +++ b/server/sonar-web/src/main/js/helpers/handlebars/eachIndex.js @@ -21,7 +21,7 @@ import _ from 'underscore'; module.exports = function (context, options) { let ret = ''; - context.forEach(function (d, i) { + context.forEach((d, i) => { const c = _.extend({ index: i }, d); ret += options.fn(c); }); |