mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2024-11-15 10:50:31 +01: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
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user