Skip to content
Snippets Groups Projects
Unverified Commit 0d4560b9 authored by Mehmet Ünlü's avatar Mehmet Ünlü Committed by GitHub
Browse files

2049 remove break that prevents fetching files from gitlab repo (#2050)

fix: remove unnecessary break

Remove unnecessary break that prevents checking next pages for blob objects.
parent be3b0b49
No related branches found
No related tags found
No related merge requests found
...@@ -223,10 +223,6 @@ class GitLabRepoLoader { ...@@ -223,10 +223,6 @@ class GitLabRepoLoader {
const objects = Array.isArray(data) const objects = Array.isArray(data)
? data.filter((item) => item.type === "blob") ? data.filter((item) => item.type === "blob")
: []; // only get files, not paths or submodules : []; // only get files, not paths or submodules
if (objects.length === 0) {
fetching = false;
break;
}
// Apply ignore path rules to found objects. If any rules match it is an invalid file path. // Apply ignore path rules to found objects. If any rules match it is an invalid file path.
console.log( console.log(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment