diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2016-09-15 12:20:16 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2016-09-16 10:22:24 +0200 |
commit | 9df53ef79c9ad63d962274c44e053ad500ab6976 (patch) | |
tree | 7cfb045473d9008bb2a0e6fd229df8f887997fb5 /server/sonar-web/src/main/js/apps/code | |
parent | 391777173512eae74d7861fac2448bf9c379bcf8 (diff) | |
download | sonarqube-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.js | 2 |
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; }); |