aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/code
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-09-15 12:20:16 +0200
committerStas Vilchik <vilchiks@gmail.com>2016-09-16 10:22:24 +0200
commit9df53ef79c9ad63d962274c44e053ad500ab6976 (patch)
tree7cfb045473d9008bb2a0e6fd229df8f887997fb5 /server/sonar-web/src/main/js/apps/code
parent391777173512eae74d7861fac2448bf9c379bcf8 (diff)
downloadsonarqube-9df53ef79c9ad63d962274c44e053ad500ab6976.tar.gz
sonarqube-9df53ef79c9ad63d962274c44e053ad500ab6976.zip
improve code quality
Diffstat (limited to 'server/sonar-web/src/main/js/apps/code')
-rw-r--r--server/sonar-web/src/main/js/apps/code/utils.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/code/utils.js b/server/sonar-web/src/main/js/apps/code/utils.js
index 8347f52fe71..2236c75dde8 100644
--- a/server/sonar-web/src/main/js/apps/code/utils.js
+++ b/server/sonar-web/src/main/js/apps/code/utils.js
@@ -62,7 +62,7 @@ function requestChildren (componentKey, metrics, page) {
if (r.paging.total > r.paging.pageSize * r.paging.pageIndex) {
return requestChildren(componentKey, metrics, page + 1).then(moreComponents => {
return [...r.components, ...moreComponents];
- })
+ });
}
return r.components;
});