diff options
Diffstat (limited to 'server/sonar-web/src/main/js/helpers/handlebars/limitString.js')
-rw-r--r-- | server/sonar-web/src/main/js/helpers/handlebars/limitString.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/helpers/handlebars/limitString.js b/server/sonar-web/src/main/js/helpers/handlebars/limitString.js index 2c318870b40..90d226a8609 100644 --- a/server/sonar-web/src/main/js/helpers/handlebars/limitString.js +++ b/server/sonar-web/src/main/js/helpers/handlebars/limitString.js @@ -19,7 +19,7 @@ */ module.exports = function (str) { if (typeof str === 'string') { - var LIMIT = 30; + const LIMIT = 30; return str.length > LIMIT ? str.substr(0, LIMIT) + '...' : str; } }; |