From 7ca38a8d6a62c3065661a4951335d16f4566d835 Mon Sep 17 00:00:00 2001 From: Jonathan Ortega Date: Thu, 6 Nov 2025 12:56:39 -0600 Subject: [PATCH] Return null, not [] onError --- .../utils/extensions/RepoLoader/GitlabRepo/RepoLoader/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collector/utils/extensions/RepoLoader/GitlabRepo/RepoLoader/index.js b/collector/utils/extensions/RepoLoader/GitlabRepo/RepoLoader/index.js index c6c4ee244a2..a3acaee7e78 100644 --- a/collector/utils/extensions/RepoLoader/GitlabRepo/RepoLoader/index.js +++ b/collector/utils/extensions/RepoLoader/GitlabRepo/RepoLoader/index.js @@ -376,7 +376,7 @@ ${body}` const data = await response.json(); if (!Array.isArray(data)) { console.warn(`Unexpected response format for ${endpoint}:`, data); - return []; + return null; } console.log(