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.
This commit is contained in:
Mehmet Ünlü 2024-08-06 19:17:55 +02:00 committed by GitHub
parent be3b0b4916
commit 0d4560b9e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -223,10 +223,6 @@ class GitLabRepoLoader {
const objects = Array.isArray(data)
? data.filter((item) => item.type === "blob")
: []; // 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.
console.log(