mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2025-04-17 18:18:11 +00:00
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:
parent
be3b0b4916
commit
0d4560b9e4
1 changed files with 0 additions and 4 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Reference in a new issue