aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/helpers/handlebars/ifLength.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/helpers/handlebars/ifLength.js')
-rw-r--r--server/sonar-web/src/main/js/helpers/handlebars/ifLength.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/helpers/handlebars/ifLength.js b/server/sonar-web/src/main/js/helpers/handlebars/ifLength.js
index 190d2f22c71..1758f384198 100644
--- a/server/sonar-web/src/main/js/helpers/handlebars/ifLength.js
+++ b/server/sonar-web/src/main/js/helpers/handlebars/ifLength.js
@@ -20,6 +20,6 @@
import _ from 'underscore';
module.exports = function (array, len, options) {
- var cond = _.isArray(array) && array.length === +len;
+ const cond = _.isArray(array) && array.length === +len;
return cond ? options.fn(this) : options.inverse(this);
};